2
2
3
3
{ {> partial_header} }
4
4
5
+ import os
5
6
from setuptools import setup, find_packages # noqa: H301
6
7
7
8
NAME = "{ {{projectName} }}"
@@ -24,21 +25,27 @@ REQUIRES.append("aiohttp >= 3.0.0")
24
25
REQUIRES.append("tornado>=4.2,<5 " )
25
26
{ { /tornado} }
26
27
28
+ here = os.path.abspath(os.path.dirname(__file__))
29
+
30
+ def get_file_text(file_name):
31
+ with open(os.path.join(here, file_name)) as in_file:
32
+ return in_file.read()
33
+
27
34
setup(
28
35
name=NAME,
29
36
version=VERSION,
30
37
description=" { { appName} } " ,
31
38
author=" { { #infoName} } { { infoName} } { { /infoName} } { { ^infoName} } OpenAPI Generator community{{ /infoName}} " ,
32
39
author_email=" { { #infoEmail} } { { infoEmail} } { { /infoEmail} } { { ^infoEmail} } [email protected] {{/
infoEmail}} " ,
33
- url=" { { packageUrl } } " ,
40
+ url=" https: // github.com / muxinc / mux-python " ,
34
41
keywords=[" OpenAPI " , " OpenAPI-Generator " , " { { { appName} } } " ],
35
42
install_requires=REQUIRES,
36
43
packages=find_packages(exclude=[" test " , " tests " ]),
37
44
include_package_data=True,
45
+ long_description=get_file_text(" README.md " ),
46
+ long_description_content_type=" text /markdown " ,
38
47
{ { #licenseInfo} } license=" { { licenseInfo} } " ,
39
- { { /licenseInfo} } long_description=" " " \
40
- { { appDescription} } # noqa: E501
41
- " " "
48
+ { { /licenseInfo} }
42
49
)
43
50
{ { /-last} }
44
51
{ { /apis} }
0 commit comments