Skip to content

Commit 0c5b955

Browse files
committed
Add readme as long description to setup.py
1 parent 70fd7b5 commit 0c5b955

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@
1010
with io.open('flask_jwt_extended/__init__.py', encoding='utf-8') as f:
1111
version = re.search(r"__version__ = '(.+)'", f.read()).group(1)
1212

13+
14+
with open("README.md", "r") as f:
15+
long_description = f.read()
16+
17+
1318
setup(name='Flask-JWT-Extended',
1419
version=version,
1520
url='https://github.com/vimalloc/flask-jwt-extended',
1621
license='MIT',
1722
author='Landon Gilbert-Bland',
1823
author_email='landogbland@gmail.com',
1924
description='Extended JWT integration with Flask',
20-
long_description='Extended JWT integration with Flask',
25+
long_description=long_description,
26+
long_description_content_type="text/markdown",
2127
keywords=['flask', 'jwt', 'json web token'],
2228
packages=['flask_jwt_extended'],
2329
zip_safe=False,

0 commit comments

Comments
 (0)