Skip to content

Commit c543731

Browse files
Henry Chanhenrylamchan
authored andcommitted
Add README as long description so we have something on PyPi
1 parent ea844bc commit c543731

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33

44
base_dir = os.path.dirname(__file__)
55

6+
with open('README.md', 'r') as f:
7+
long_description = f.read()
8+
69
about = {}
7-
with open(os.path.join(base_dir, "workos", "__about__.py")) as f:
10+
with open(os.path.join(base_dir, 'workos', '__about__.py')) as f:
811
exec(f.read(), about)
912

1013
setup(
@@ -14,6 +17,8 @@
1417
author_email=about['__author_email__'],
1518
url=about['__package_url__'],
1619
description=about['__description__'],
20+
long_description=long_description,
21+
long_description_content_type='text/markdown',
1722
packages=find_packages(exclude=['tests*', ]),
1823
zip_safe=False,
1924
license=about['__license__'],

0 commit comments

Comments
 (0)