-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
82 lines (73 loc) · 1.98 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
# -*- coding: utf-8 -*-
"""The setup script."""
# Copyright 2023 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 = [
"kopf",
"kubernetes",
"web3",
"psycopg2",
"eth_account",
"coloredlogs",
]
setup_requirements = [
"pytest-runner",
]
dev_requirements = [
"bumpversion==0.5.3",
"pkginfo==1.4.2",
"twine==1.11.0",
"flake8",
"isort",
"black==22.3.0",
"pre-commit",
"licenseheaders",
"pytest-env",
# not virtualenv: devs should already have it before pip-installing
"watchdog==0.8.3",
]
test_requirements = [
"codacy-coverage",
"coverage",
"mccabe",
"pylint",
"pytest",
"pytest-watch",
]
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="🐳 Infrastructure Operator Micro-service",
extras_require={
"test": test_requirements,
"dev": dev_requirements + test_requirements,
},
include_package_data=True,
install_requires=install_requirements,
keywords="operator-engine",
license="Apache Software License 2.0",
long_description=readme,
long_description_content_type="text/markdown",
name="operator-engine",
packages=find_packages(include=["operator-engine"]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/oceanprotocol/operator-engine",
version="0.0.1",
zip_safe=False,
)