Skip to content

Commit

Permalink
missing description for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixWick committed Jan 7, 2023
1 parent 29072ac commit a9ad9b4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import os

from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

def get_install_requirements(path):
content = open(os.path.join(os.path.dirname(__file__), path)).read()
return [req for req in content.split("\n") if req != "" and not req.startswith("#")]
Expand All @@ -14,7 +18,9 @@ def setup_package():
install_requires=get_install_requirements("requirements.txt"),
packages=find_packages(),
classifiers=["Programming Language :: Python"],
use_scm_version=True
use_scm_version=True,
long_description=long_description,
long_description_content_type='text/markdown'
)

if __name__ == "__main__":
Expand Down

0 comments on commit a9ad9b4

Please sign in to comment.