From b014c3fba19a82e88992464f460910e6f101ea0f Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 25 Oct 2023 11:55:17 +0200 Subject: Init project --- .gitignore | 3 +++ clusterman/__init__.py | 3 +++ clusterman/__main__.py | 7 +++++++ clusterman/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 258 bytes clusterman/__pycache__/__main__.cpython-311.pyc | Bin 0 -> 337 bytes pyproject.toml | 19 +++++++++++++++++++ 6 files changed, 32 insertions(+) create mode 100644 .gitignore create mode 100644 clusterman/__init__.py create mode 100644 clusterman/__main__.py create mode 100644 clusterman/__pycache__/__init__.cpython-311.pyc create mode 100644 clusterman/__pycache__/__main__.cpython-311.pyc create mode 100644 pyproject.toml 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 Binary files /dev/null and b/clusterman/__pycache__/__init__.cpython-311.pyc differ diff --git a/clusterman/__pycache__/__main__.cpython-311.pyc b/clusterman/__pycache__/__main__.cpython-311.pyc new file mode 100644 index 0000000..0e9b39c Binary files /dev/null and b/clusterman/__pycache__/__main__.cpython-311.pyc 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" -- cgit v1.2.3