This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
forked from HubSpot/hubspot-api-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (41 loc) · 1.4 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
# 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 = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
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',
)