Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: Wei Chu <[email protected]>
  • Loading branch information
2 people authored and Rohit Kumar Srivastava committed Mar 22, 2021
1 parent a0535dd commit 967f452
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tools/pip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ def skip_markdown_comments(md):
with open('doc/{0}_ADDITIONAL.md'.format(variant)) as variant_doc:
long_description = long_description + skip_markdown_comments(variant_doc.read())

# pypi only supports rst, so use pandoc to convert
import pypandoc
if platform.system() == 'Darwin':
pypandoc.download_pandoc()
long_description = pypandoc.convert_text(long_description, 'rst', 'md')
short_description = 'MXNet is an ultra-scalable deep learning framework.'
libraries = []
if variant == 'CPU':
Expand Down Expand Up @@ -169,7 +164,7 @@ def skip_markdown_comments(md):
package_data['mxnet'].append('mxnet/libgfortran.so.4')
if os.path.exists(os.path.join(libdir, 'libopenblas.so.0')):
shutil.copy(os.path.join(libdir, 'libopenblas.so.0'), mxdir)
package_data['mxnet'].append('mxnet/libquadmath.so.0')
package_data['mxnet'].append('mxnet/libopenblas.so.0')

# Copy licenses and notice
for f in os.listdir('mxnet/licenses'):
Expand All @@ -184,6 +179,7 @@ def skip_markdown_comments(md):
setup(name=package_name,
version=__version__,
long_description=long_description,
long_description_content_type='text/markdown',
description=short_description,
zip_safe=False,
packages=find_packages(),
Expand Down

0 comments on commit 967f452

Please sign in to comment.