forked from oceanprotocol/provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
110 lines (101 loc) · 2.63 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 Ocean Protocol Foundation
# SPDX-License-Identifier: Apache-2.0
#
"""The setup script."""
# Copyright 2018 Ocean Protocol Foundation
# SPDX-License-Identifier: Apache-2.0
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
# Installed by pip install ocean-provider
# or pip install -e .
install_requirements = [
# Install ocean-utils first
# "ocean-contracts==1.0.0a1",
"web3==5.25.0",
"Flask==2.1.2",
"Flask-Cors==3.0.9",
"flask_caching==1.10.1",
"Flask-RESTful==0.3.8",
"flask-swagger==0.2.14",
"flask-swagger-ui==3.25.0",
"Jinja2>=2.10.1,<3.1",
"gunicorn==20.0.4",
"ocean-contracts==1.0.0a32",
"coloredlogs==15.0.1",
"Werkzeug==2.0.3",
"requests_testadapter",
"eciespy",
"coincurve>=13,<15",
"ipaddress",
"dnspython",
"flask-sieve==1.3.1",
"SQLAlchemy==1.3.23",
"json-sempai==0.4.0",
"redis==4.0.2",
]
# Required to run setup.py:
setup_requirements = ["pytest-runner"]
test_requirements = [
"codacy-coverage",
"coverage",
"docker",
"freezegun==1.1.0",
"mccabe",
"pylint",
"pytest",
"pytest-watch",
]
# Possibly required by developers of ocean-provider:
dev_requirements = [
"bumpversion",
"pkginfo",
"twine",
"watchdog",
"python-dotenv==0.15.0",
"flake8",
"isort",
"black==22.1.0",
"click==8.0.4",
"pre-commit",
"licenseheaders",
"pytest-env",
]
setup(
author="leucothia",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
],
description="🐳 Ocean Provider.",
extras_require={
"test": test_requirements,
"dev": dev_requirements + test_requirements,
},
install_requires=install_requirements,
license="Apache Software License 2.0",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="ocean-provider",
name="ocean-provider",
packages=find_packages(
include=["ocean_provider", "ocean_provider.utils", "ocean_provider.app"]
),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/oceanprotocol/provider-py",
# fmt: off
# bumpversion needs single quotes
version='1.0.8',
# fmt: on
zip_safe=False,
)