Skip to content

Commit

Permalink
REL: add the readme back as the project long_description
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Jevnik committed Jul 23, 2020
1 parent bae5065 commit 84ea077
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,11 @@ def setup_requirements(requirements_path, module_names,
'setup_requires' if not conda_build else 'build_requires': setup_requires,
}

if 'sdist' in sys.argv:
with open('README.rst') as f:
conditional_arguments['long_description'] = f.read()


setup(
name='zipline',
url="http://zipline.io",
Expand Down

0 comments on commit 84ea077

Please sign in to comment.