Przeglądaj źródła

Merge pull request #71 from algoo/develop

Bastien Sevajol 6 lat temu
rodzic
commit
5b5986ddc4
No account linked to committer's email
1 zmienionych plików z 6 dodań i 3 usunięć
  1. 6 3
      setup.py

+ 6 - 3
setup.py Wyświetl plik

@@ -39,6 +39,9 @@ dev_require = [
39 39
 if sys.version_info.major == 3 and sys.version_info.minor == 4:
40 40
     install_requires.append('typing')
41 41
 
42
+with open('README.md', 'r') as readme_file:
43
+    long_description = readme_file.read()
44
+
42 45
 setup(
43 46
     name='hapic',
44 47
 
@@ -47,8 +50,8 @@ setup(
47 50
     # https://packaging.python.org/en/latest/single_source_version.html
48 51
     version=version,
49 52
     description='HTTP api input/output manager',
50
-    # long_description=long_description,
51
-    long_description='',
53
+    long_description=long_description,
54
+    long_description_content_type='text/markdown',
52 55
 
53 56
     # The project's main homepage.
54 57
     url='https://github.com/algoo/hapic',
@@ -58,7 +61,7 @@ setup(
58 61
     author_email='contact@algoo.fr',
59 62
 
60 63
     # Choose your license
61
-    license='',
64
+    license='MIT',
62 65
 
63 66
     # What does your project relate to?
64 67
     keywords='http api validation',