-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (51 loc) · 1.28 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
"""
Chartreuse
"""
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 = (
[
"black",
"flake8",
"flake8-mutable",
"pip-tools",
]
+ extra_require_mypy
+ extra_require_test
)
setup(
name="chartreuse",
version=version,
description="Helper for Alembic migrations within Kubernetes.",
long_description="Helper for Alembic migrations within Kubernetes.",
platforms=["posix"],
author="wiremind",
author_email="[email protected]",
url="https://github.com/wiremind/chartreuse",
license="LGPLv3+",
packages=find_packages("src", exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_dir={"": "src"},
include_package_data=True,
zip_safe=True,
python_requires=">=3.11.0",
install_requires=[
"alembic",
"psycopg2",
"wiremind-kubernetes~=7.0",
],
extras_require={
"dev": extra_require_dev,
"mypy": extra_require_mypy,
"test": extra_require_test,
},
entry_points={"console_scripts": ["chartreuse-upgrade=chartreuse.chartreuse_upgrade:main"]},
)