forked from planetmint/planetmint-driver-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (74 loc) · 2.09 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
75
76
77
78
79
80
81
82
#!/usr/bin/env python
# Copyright Planetmint GmbH and Planetmint contributors
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('CHANGELOG.rst') as changelog_file:
changelog = changelog_file.read()
install_requires = [
'requests>=2.20.0',
'planetmint-cryptoconditions>=0.9.0',
'pysha3~=1.0.2',
'python-rapidjson~=0.6.0',
'python-rapidjson-schema==0.1.1',
]
tests_require = [
'tox>=2.3.1',
'coverage>=4.1',
'flake8>=2.6.0',
'pytest>=3.0.1',
'pytest-cov',
'pytest-env',
'pytest-sugar',
'pytest-xdist',
'responses~=0.5.1',
]
dev_require = [
'ipdb',
'ipython',
'pre-commit',
'jinja2==3.0.0'
]
docs_require = [
'Sphinx~=1.0',
'sphinx-autobuild',
'sphinxcontrib-autorun',
'sphinxcontrib-napoleon>=0.4.4',
'sphinx_rtd_theme',
'sphinxcontrib-httpdomain',
'matplotlib',
]
setup(
name='planetmint_driver',
version='0.9.4',
description="Python driver for Planetmint",
long_description=readme + '\n\n' + changelog,
long_description_content_type='text/x-rst',
author="Planetmint",
author_email='contact@ipdb.global',
url='https://github.com/planetmint/planetmint-driver',
packages=find_packages(exclude=['tests*']),
package_dir={'planetmint_driver':
'planetmint_driver'},
include_package_data=True,
install_requires=install_requires,
python_requires='>=3.9',
license="Apache Software License 2.0",
zip_safe=False,
keywords='planetmint_driver',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.9',
],
test_suite='tests',
extras_require={
'test': tests_require,
'dev': dev_require + tests_require + docs_require,
'docs': docs_require,
},
)