File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
Utilities/codegen/templates
fds.analyticsapi.engines.v2 Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ # coding: utf-8
2+
3+ { {> partial_header} }
4+
5+ from setuptools import setup, find_packages # noqa: H301
6+
7+ NAME = "{ {{projectName} }}"
8+ VERSION = "{ {packageVersion} }"
9+ { {#apiInfo} }
10+ { {#apis} }
11+ { {^hasMore} }
12+ # To install the library, run the following
13+ #
14+ # python setup.py install
15+ #
16+ # prerequisite: setuptools
17+ # http://pypi.python.org/pypi/setuptools
18+
19+ REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
20+ { {#asyncio} }
21+ REQUIRES.append("aiohttp >= 3.0.0")
22+ { {/asyncio} }
23+ { {#tornado} }
24+ REQUIRES.append("tornado>=4.2,<5 " )
25+ { { /tornado} }
26+
27+ setup(
28+ name=NAME,
29+ version=VERSION,
30+ description=" { { appName} } " ,
31+ author=" { { infoName} } " ,
32+ author_email=" { { infoEmail} } " ,
33+ url=" { { packageUrl} } " ,
34+ keywords=[" OpenAPI " , " OpenAPI-Generator " , " { { { appName} } } " ],
35+ install_requires=REQUIRES,
36+ packages=find_packages(exclude=[" test " , " tests " ]),
37+ include_package_data=True,
38+ license=" { { licenseInfo} } " ,
39+ long_description=" " " \
40+ { { appDescription} } # noqa: E501
41+ " " "
42+ )
43+ { { /hasMore} }
44+ { { /apis} }
45+ { { /apiInfo} }
Original file line number Diff line number Diff line change 2828 name = NAME ,
2929 version = VERSION ,
3030 description = "Engines API" ,
31+ author = "Analytics API Support" ,
3132 author_email = "analytics.api.support@factset.com" ,
3233 url = "" ,
3334 keywords = ["OpenAPI" , "OpenAPI-Generator" , "Engines API" ],
3435 install_requires = REQUIRES ,
3536 packages = find_packages (exclude = ["test" , "tests" ]),
3637 include_package_data = True ,
38+ license = "The Apache Software License, Version 2.0" ,
3739 long_description = """\
3840 Allow clients to fetch Engines Analytics through APIs. # noqa: E501
3941 """
You can’t perform that action at this time.
0 commit comments