Skip to content

Commit 901f8df

Browse files
committed
Using long_description enables description on PyPI
1 parent e4371ce commit 901f8df

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
from setuptools import setup, find_packages
22

3+
# read the contents of your README file
4+
from pathlib import Path
5+
this_directory = Path(__file__).parent
6+
long_description = (this_directory / "README.md").read_text()
37

48
setup(
59
name="openpaygo",
@@ -8,7 +12,9 @@
812
license='MIT',
913
author="Solaris Offgrid",
1014
url='https://github.com/EnAccess/OpenPAYGO-python/',
15+
long_description=long_description,
16+
long_description_content_type='text/markdown',
1117
install_requires=[
1218
'siphash',
1319
],
14-
)
20+
)

0 commit comments

Comments
 (0)