Skip to content

Commit 123767c

Browse files
spasumarthi21GitHub Enterprise
authored andcommitted
fix(metadata): Adding license and author information (#3)
1 parent fb88baf commit 123767c

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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}}

v2/fds.analyticsapi.engines.v2/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@
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
"""

0 commit comments

Comments
 (0)