Browse code

add long description to setup.py

Joseph Weston authored on 21/06/2018 22:39:26
Showing 1 changed files
... ...
@@ -20,10 +20,14 @@ def get_version_and_cmdclass(package_name):
20 20
 
21 21
 version, cmdclass = get_version_and_cmdclass('miniver')
22 22
 
23
+with open('README.md') as readme_file:
24
+    long_description = readme_file.read()
23 25
 
24 26
 setup(
25 27
     name='miniver',
26 28
     description='minimal versioning tool',
29
+    long_description=long_description,
30
+    long_description_content_type='text/markdown',
27 31
     version=version,
28 32
     url='https://github.com/jbweston/miniver',
29 33
     author='Joseph Weston and Christoph Groth',