Skip to content

Commit 0937e75

Browse files
committed
specify long description type in setup.py
1 parent 273f3b9 commit 0937e75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121

2222
# Get the long description from the README file
2323
long_description = ''
24+
long_description_content_type = 'text/plain'
2425
if path.exists(path.join(here, readme_file)):
2526
long_description = open(path.join(here, readme_file)).read()
27+
long_description_content_type='text/markdown'
2628

2729
class update_vocabularies(install_scripts):
2830
def run(self):
@@ -37,6 +39,7 @@ def run(self):
3739

3840
description='A Python interface to various metadata vocabularies',
3941
long_description=long_description,
42+
long_description_content_type=long_description_content_type,
4043

4144
zip_safe=False,
4245

0 commit comments

Comments
 (0)