forked from EasyPost/easypost-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (51 loc) · 1.65 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
import sys
import io
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_requires = [
'requests >= 1.0.0',
'six'
]
with open('VERSION', 'r') as f:
version = f.read().strip()
if sys.version_info < (3, 0):
long_description_open = io.open
else:
long_description_open = open
with long_description_open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(
name='easypost',
version=version,
description='EasyPost Shipping API Client Library for Python',
author='EasyPost',
author_email='[email protected]',
url='https://easypost.com/',
packages=['easypost'],
package_data={'easypost': ['../VERSION']},
install_requires=install_requires,
test_suite='test',
long_description=long_description,
long_description_content_type='text/markdown',
project_urls={
'CI': 'https://travis-ci.org/EasyPost/easypost-python',
},
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
]
)