-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathsetup.py
67 lines (59 loc) · 2 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
"""Setup script for Coinbase Commerce API client.
Also installs included versions of third party libraries, if those libraries
are not already installed.
"""
import os
from setuptools import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
version_contents = {}
with open(os.path.join(ROOT_DIR, 'coinbase_commerce', 'version.py')) as f:
exec(f.read(), version_contents)
with open(os.path.join(ROOT_DIR, 'README.md')) as f:
long_description = f.read()
packages = [
'coinbase_commerce',
'coinbase_commerce.api_resources',
'coinbase_commerce.api_resources.base',
]
install_requires = [
'requests>=2.14.0,<3',
'six>=1.9,<2',
]
tests_require = [
'coverage>=4,<5',
'unittest2>=0.8.0,<1',
'mock>=2.0.0,<3',
]
setup(
name='coinbase_commerce',
version=version_contents['VERSION'],
packages=packages,
include_package_data=True,
license='Apache 2.0',
description='Coinbase Commerce API client library',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/coinbase/coinbase-commerce-python',
keywords=['api', 'coinbase commerce', 'client'],
install_requires=install_requires,
extras_require={
'dev': ['nose>=1.3.4,<2', 'flake8>=3.5.0,<4'] + tests_require,
},
tests_require=tests_require,
author='Coinbase, Inc.',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)