forked from microsoft/DeepSpeed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds long_description to setup.py (microsoft#560)
- Loading branch information
Shaden Smith
authored
Nov 25, 2020
1 parent
16313a9
commit 6009713
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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', | ||
|