-
Notifications
You must be signed in to change notification settings - Fork 57
/
setup.py
74 lines (69 loc) · 2.19 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
62
63
64
65
66
67
68
69
70
71
72
73
74
from setuptools import (
find_packages,
setup,
)
REQUIREMENTS = [
"requests >= 2.4.3",
]
DEV_REQUIREMENTS = [
"bandit==1.7.5",
"black==23.*",
"build==1.0.*;python_version>='3.8'", # TODO: remove python pin when 3.7 is dropped
"urllib3==1.*", # TODO: Pinned because vcrpy did a dumb and didn't pin urllib3
"flake8==5.*", # TODO: flake8 v6 requires Python 3.8.1+
"isort==5.*",
"mypy==1.4.*", # TODO: mypy v1.5 requires Python 3.8+
"pdoc==13.*", # TODO: pdoc v14 requires Python 3.8+
"pytest-cov==4.*",
"pytest-vcr==1.*",
"pytest==7.*",
"vcrpy==4.*", # TODO: vcrpy v5 requires Python 3.8+
]
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="easypost",
version="9.5.0",
description="EasyPost Shipping API Client Library for Python",
author="EasyPost",
author_email="[email protected]",
url="https://easypost.com/",
packages=find_packages(
exclude=[
"docs",
"examples",
"tests",
]
),
install_requires=REQUIREMENTS,
extras_require={
"dev": DEV_REQUIREMENTS,
},
package_data={
"easypost": ["py.typed"],
},
test_suite="test",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Docs": "https://docs.easypost.com",
"Tracker": "https://github.com/EasyPost/easypost-python/issues",
"Source": "https://github.com/EasyPost/easypost-python",
},
python_requires=">=3.7, <4",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
],
)