Skip to content

Commit

Permalink
Adds long_description to setup.py (microsoft#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaden Smith authored Nov 25, 2020
1 parent 16313a9 commit 6009713
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,16 @@ def op_enabled(op_name):
print(f'compatible_ops={compatible_ops}')
print(f'ext_modules={ext_modules}')

# Parse README.md to make long_description for PyPI page.
thisdir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(thisdir, 'README.md'), encoding='utf-8') as fin:
readme_text = fin.read()

setup(name='deepspeed',
version=version_str,
description='DeepSpeed library',
long_description=readme_text,
long_description_content_type='text/markdown',
author='DeepSpeed Team',
author_email='[email protected]',
url='http://deepspeed.ai',
Expand Down

0 comments on commit 6009713

Please sign in to comment.