Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
christianjauregui committed Apr 26, 2020
1 parent bf9301b commit 9058b1d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
# Define __version__
exec(open("famafrench/version.py").read())

if '__version__' in locals():
VERSION = __version__
else:
VERSION = '0.1.0'

here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), "r") as readme:
Expand Down Expand Up @@ -53,7 +58,7 @@
setup(
# Package meta-data
name=NAME,
version= __version__,
version=VERSION,
author='Christian Jauregui',
author_email='chris.jauregui@berkeley.edu',
description='Python package designed to construct and replicate datasets from Ken French\'s '
Expand Down

0 comments on commit 9058b1d

Please sign in to comment.