Skip to content

Commit 84ea077

Browse files
author
Joe Jevnik
committed
REL: add the readme back as the project long_description
1 parent bae5065 commit 84ea077

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,11 @@ def setup_requirements(requirements_path, module_names,
257257
'setup_requires' if not conda_build else 'build_requires': setup_requires,
258258
}
259259

260+
if 'sdist' in sys.argv:
261+
with open('README.rst') as f:
262+
conditional_arguments['long_description'] = f.read()
263+
264+
260265
setup(
261266
name='zipline',
262267
url="http://zipline.io",

0 commit comments

Comments
 (0)