-
Notifications
You must be signed in to change notification settings - Fork 111
/
setup.py
61 lines (48 loc) · 1.52 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
55
56
57
58
59
60
61
# coding: utf-8
"""
Contacts
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""
from os.path import dirname, abspath, exists
from setuptools import setup, find_packages # noqa: H301
NAME = "hubspot-api-client"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = [
"requests >= 2.31.0",
"urllib3 >= 1.15, < 3.0",
"six >= 1.10, < 2.0",
"certifi >= 2023.1.1",
"python-dateutil >= 2.8.2",
"importlib-metadata<5; python_version<'3.8'"
]
DEV_REQUIRES = ["pytest", "black"]
DIR_PATH = dirname(abspath(__file__))
with open(DIR_PATH + "/VERSION", "r", encoding="utf-8") as f:
VERSION = f.readline().strip()
LONG_DESCRIPTION = None
if exists(DIR_PATH + "/README.md"):
with open(DIR_PATH + "/README.md", "r", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
packages=find_packages(),
version=VERSION,
description="HubSpot API client",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/HubSpot/hubspot-api-python",
author="HubSpot",
author_email="[email protected]",
install_requires=REQUIRES,
extras_require={"dev": DEV_REQUIRES},
python_requires=">=3.7",
include_package_data=True,
license='Apache-2.0',
)