summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-10-25 11:55:17 +0200
committerLoic Guegan <loic.guegan@mailbox.org>2023-10-25 11:55:17 +0200
commitb014c3fba19a82e88992464f460910e6f101ea0f (patch)
tree4d9dc181a88dc1c995dbb111cf3fd2a04755f92e
parent3d445ed2d6ef6f820173992279a22a8dd2dced6f (diff)
Init project
-rw-r--r--.gitignore3
-rw-r--r--clusterman/__init__.py3
-rw-r--r--clusterman/__main__.py7
-rw-r--r--clusterman/__pycache__/__init__.cpython-311.pycbin0 -> 258 bytes
-rw-r--r--clusterman/__pycache__/__main__.cpython-311.pycbin0 -> 337 bytes
-rw-r--r--pyproject.toml19
6 files changed, 32 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..07859e3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+env/
+clusterman.egg-info/
+build/ \ No newline at end of file
diff --git a/clusterman/__init__.py b/clusterman/__init__.py
new file mode 100644
index 0000000..9e2b30a
--- /dev/null
+++ b/clusterman/__init__.py
@@ -0,0 +1,3 @@
+__version__ = "0.0.1"
+
+from clusterman.__main__ import main
diff --git a/clusterman/__main__.py b/clusterman/__main__.py
new file mode 100644
index 0000000..f3b5ec8
--- /dev/null
+++ b/clusterman/__main__.py
@@ -0,0 +1,7 @@
+
+
+
+
+
+def main():
+ print("it works!")
diff --git a/clusterman/__pycache__/__init__.cpython-311.pyc b/clusterman/__pycache__/__init__.cpython-311.pyc
new file mode 100644
index 0000000..47303d7
--- /dev/null
+++ b/clusterman/__pycache__/__init__.cpython-311.pyc
Binary files differ
diff --git a/clusterman/__pycache__/__main__.cpython-311.pyc b/clusterman/__pycache__/__main__.cpython-311.pyc
new file mode 100644
index 0000000..0e9b39c
--- /dev/null
+++ b/clusterman/__pycache__/__main__.cpython-311.pyc
Binary files differ
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..e865194
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,19 @@
+[project]
+name = "clusterman"
+dynamic = ["version"]
+dependencies = []
+description = "Simple cluster management utility"
+readme = "README.md"
+
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
+
+[tool.setuptools]
+packages = ["clusterman"]
+
+[tool.setuptools.dynamic]
+version = {attr = "clusterman.__version__"}
+
+[project.scripts]
+clusterman = "clusterman:main"