-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
65 lines (61 loc) · 1.74 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
"""
wiremind-kubernetes
"""
from setuptools import find_packages, setup
with open("VERSION") as version_file:
version = version_file.read().strip()
extra_require_test = [
"mock",
"pytest",
"pytest-mock",
]
extra_require_mypy = [
"mypy",
]
extra_require_dev = (
[
"flake8",
"black",
"isort",
"bandit",
"flake8-mutable",
"pip-tools>=3.7.0",
"pyupgrade",
"safety",
]
+ extra_require_mypy
+ extra_require_test
)
setup(
name="wiremind-kubernetes",
version=version,
description="Helper for Kubernetes.",
long_description="""This Python library is a high-level set of Kubernetes Helpers allowing either
to manage individual standard Kubernetes controllers (Deployment, StatefulSets, etc) or a logical set
of standard Kubernetes controllers through the `expecteddeploymentscales.wiremind.io` CRD (for example
allowing to scale down ALL Deployments of a Helm Release marked as such).""",
author="Wiremind",
author_email="[email protected]",
url="https://github.com/wiremind/wiremind-kubernetes",
license="LGPLv3+",
packages=find_packages("src"),
package_dir={"": "src"},
package_data={"wiremind_kubernetes": ["py.typed"]},
include_package_data=True,
zip_safe=True,
install_requires=[
"kubernetes>=18.0.0",
],
extras_require={
"dev": extra_require_dev,
"mypy": extra_require_mypy,
"test": extra_require_test,
},
python_requires=">=3.9.0",
keywords=["kubernetes"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
],
)