forked from EasyPost/easypost-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (64 loc) · 1.97 KB
/
Copy pathsetup.py
File metadata and controls
70 lines (64 loc) · 1.97 KB
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
from setuptools import setup
REQUIREMENTS = [
"requests >= 2.4.3",
"typing-extensions",
]
DEV_REQUIREMENTS = [
"black==22.*",
"flake8==4.*",
"isort==5.*",
"pytest-cov==3.*",
"pytest-vcr==1.*",
"pytest==7.*",
"twine==3.8.*", # Twine 4.0+ drops support for Python 3.6
"types-requests",
"types-urllib3",
"vcrpy==4.*",
"wheel==0.37.*",
]
# packages incompatible with PyPy go here
CPYTHON_DEV_REQUIREMENTS = [
"mypy==0.942",
]
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="easypost",
version="7.0.0",
description="EasyPost Shipping API Client Library for Python",
author="EasyPost",
author_email="support@easypost.com",
url="https://easypost.com/",
packages=["easypost"],
install_requires=REQUIREMENTS,
extras_require={
"dev": DEV_REQUIREMENTS + CPYTHON_DEV_REQUIREMENTS,
"pypy_dev": DEV_REQUIREMENTS, # no cpython requirements
},
package_data={
"easypost": ["py.typed"],
},
test_suite="test",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Docs": "https://www.easypost.com/docs/api",
"Tracker": "https://github.com/EasyPost/easypost-python/issues",
"Source": "https://github.com/EasyPost/easypost-python",
},
python_requires=">=3.6, <4",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
],
)