22
33{ {> partial_header} }
44
5+ import os
56from setuptools import setup, find_packages # noqa: H301
67
78NAME = "{ {{projectName} }}"
@@ -24,21 +25,27 @@ REQUIRES.append("aiohttp >= 3.0.0")
2425REQUIRES.append("tornado>=4.2,<5 " )
2526{ { /tornado} }
2627
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+
2734setup(
2835 name=NAME,
2936 version=VERSION,
3037 description=" { { appName} } " ,
3138 author=" { { #infoName} } { { infoName} } { { /infoName} } { { ^infoName} } OpenAPI Generator community{{ /infoName}} " ,
3239 author_email=" { { #infoEmail} } { { infoEmail} } { { /infoEmail} } { { ^infoEmail} } [email protected] {{/
infoEmail}} " ,33- url=" { { packageUrl } } " ,
40+ url=" https: // github.com / muxinc / mux-python " ,
3441 keywords=[" OpenAPI " , " OpenAPI-Generator " , " { { { appName} } } " ],
3542 install_requires=REQUIRES,
3643 packages=find_packages(exclude=[" test " , " tests " ]),
3744 include_package_data=True,
45+ long_description=get_file_text(" README.md " ),
46+ long_description_content_type=" text /markdown " ,
3847 { { #licenseInfo} } license=" { { licenseInfo} } " ,
39- { { /licenseInfo} } long_description=" " " \
40- { { appDescription} } # noqa: E501
41- " " "
48+ { { /licenseInfo} }
4249)
4350{ { /-last} }
4451{ { /apis} }
0 commit comments