Skip to content

Commit

Permalink
Don't show package description on PyPI due to twine issue
Browse files Browse the repository at this point in the history
  • Loading branch information
holl- committed Jul 13, 2024
1 parent 324ace4 commit 92a872a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include phiml/VERSION
include documentation/Package_Info.md
recursive-include phiml/backend/tf/cuda/build *
11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,6 @@ def run(self):
print(f"Compilation complete. See {logfile_path} for details.")


try:
with open(join(dirname(__file__), 'docs/Package_Info.md'), mode='r', encoding='utf-8') as readme:
long_description = readme.read()
except FileNotFoundError:
long_description = ""
pass

with open(join(dirname(__file__), 'phiml', 'VERSION'), 'r') as version_file:
version = version_file.read()

Expand All @@ -145,8 +138,8 @@ def run(self):
'tf_cuda': CudaCommand,
},
description='Unified API for machine learning',
long_description=long_description,
long_description_content_type='text/markdown',
long_description_content_type="text/x-rst",
long_description="""Due to a PyPI issue, the description cannot be displayed. Please visit the homepage at https://github.com/tum-pbs/PhiML""",
keywords=['Machine Learning', 'Deep Learning', 'Math', 'Linear systems', 'Sparse', 'Tensor', 'Named dimensions'],
license='MIT',
author='Philipp Holl',
Expand Down

0 comments on commit 92a872a

Please sign in to comment.