-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
54 lines (43 loc) · 1.33 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"""
Pinterest REST API
Pinterest's REST API # noqa: E501
The version of the OpenAPI document: 5.14.0
Contact: pinterest-api@pinterest.com
Generated by: https://openapi-generator.tech
"""
from datetime import datetime
from setuptools import setup, find_packages # noqa: H301
from pathlib import Path
import os
VERSION = "0.1.9"
_IS_TEST_BUILD = os.environ.get("IS_TEST_BUILD", 0)
if _IS_TEST_BUILD:
print("* Test build enable")
VERSION = datetime.today().strftime('%m%d%Y%H%M%S')
NAME = "Pinterest_Generated_Client"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = [
"urllib3==1.26.12",
"python-dateutil",
]
long_description = (Path(__file__).parent / "README.md").read_text()
setup(
name=NAME,
version=VERSION,
description="Pinterest REST API",
author="Pinterest, Inc.",
author_email="pinterest-api@pinterest.com",
url="https://github.com/pinterest/pinterest-python-generated-api-client",
keywords=["OpenAPI", "OpenAPI-Generator", "Pinterest REST API"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="MIT",
long_description=long_description,
long_description_content_type='text/markdown',
)