-
Notifications
You must be signed in to change notification settings - Fork 45
/
setup.py
100 lines (91 loc) · 2.48 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2023 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()
with open("CHANGELOG.md") as history_file:
history = history_file.read()
install_requirements = [
"coloredlogs==15.0.1",
"Flask==3.0.0",
"Flask-Cors==4.0.0",
"flask-swagger==0.2.14",
"flask-swagger-ui==4.11.1",
"Jinja2>=2.10.1",
"requests>=2.21.0",
"gunicorn==21.2.0",
"elasticsearch==8.10.1",
"PyYAML==6.0.1",
"pytz==2023.3.post1",
"ocean-contracts==2.0.2",
"web3==6.11.1",
"gevent",
"python-dateutil==2.8.2",
"pyshacl==0.22.2",
"gql==3.4.1",
"aiohttp==3.9.0",
]
setup_requirements = ["pytest-runner==6.0.0"]
dev_requirements = [
"bumpversion==0.6.0",
"pkginfo==1.9.6",
"twine==4.0.2",
"flake8",
"isort",
"black",
"pre-commit",
# not virtualenv: devs should already have it before pip-installing
"watchdog==3.0.0",
"licenseheaders",
]
test_requirements = [
"Flask==3.0.0",
"codacy-coverage==1.3.11",
"coverage==7.3.2",
"mccabe==0.6.1",
"pylint==3.0.2",
"pytest",
"pytest-env",
"freezegun==1.2.2",
]
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.6",
"Programming Language :: Python :: 3.7",
],
description="🐳 Ocean aquarius.",
extras_require={
"test": test_requirements,
"dev": dev_requirements + test_requirements,
},
include_package_data=True,
install_requires=install_requirements,
keywords="ocean-aquarius",
license="Apache Software License 2.0",
long_description=readme,
long_description_content_type="text/markdown",
name="ocean-aquarius",
packages=find_packages(include=["aquarius", "aquarius.app"]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/oceanprotocol/aquarius",
# fmt: off
# bumpversion needs single quotes
version='5.1.8',
# fmt: on
zip_safe=False,
)