forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing required deps to kube-downscaler
Signed-off-by: Furkan Türkal <[email protected]>
- Loading branch information
Showing
2 changed files
with
64 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Poerty keep tries to downgrade packages for some reason, lets use `setup.py`. | ||
From 81d3142295029e2e0aba7f49db75fde676f6fffb Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Furkan=20T=C3=BCrkal?= <[email protected]> | ||
Date: Mon, 6 Nov 2023 21:26:03 +0300 | ||
Subject: [PATCH] use setuptools | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Signed-off-by: Furkan Türkal <[email protected]> | ||
--- | ||
setup.py | 26 ++++++++++++++++++++++++++ | ||
1 file changed, 26 insertions(+) | ||
create mode 100644 setup.py | ||
|
||
diff --git a/setup.py b/setup.py | ||
new file mode 100644 | ||
index 0000000..7124e92 | ||
--- /dev/null | ||
+++ b/setup.py | ||
@@ -0,0 +1,26 @@ | ||
+from setuptools import setup, find_packages | ||
+ | ||
+setup( | ||
+ name="kube-downscaler", | ||
+ version="2020.1.1.dev0", | ||
+ description="Scale down Kubernetes deployments after work hours", | ||
+ author="Henning Jacobs", | ||
+ author_email="[email protected]", | ||
+ packages=find_packages(), | ||
+ install_requires=[ | ||
+ "pykube-ng", | ||
+ "pytz", | ||
+ ], | ||
+ extras_require={ | ||
+ "dev": [ | ||
+ "coverage", | ||
+ "coveralls", | ||
+ "flake8", | ||
+ "pytest", | ||
+ "pytest-cov", | ||
+ "black==22.3.0", | ||
+ "mypy==0.761", | ||
+ "pre-commit==2.9.2", | ||
+ ], | ||
+ }, | ||
+) | ||
-- | ||
2.39.2 (Apple Git-143) | ||
|