diff --git a/knotctl b/scripts/knotctl old mode 100644 new mode 100755 similarity index 100% rename from knotctl rename to scripts/knotctl diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..47eb8fa --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +setuptools.setup( + name="knotctl", + version="0.0.1", + packages = setuptools.find_packages(), + author="Micke Nordin", + author_email="hej@mic.ke", + description="A cli for knotapi.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://code.smolnet.org/micke/knotctl", + project_urls={ + "Bug Tracker": "https://code.smolnet.org/micke/knotctl/issues", + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GPL-3.0", + "Operating System :: OS Independent", + ], + python_requires=">=3.9", + scripts=["scripts/knotctl"], +) diff --git a/stdeb.cfg b/stdeb.cfg new file mode 100644 index 0000000..cb52e6a --- /dev/null +++ b/stdeb.cfg @@ -0,0 +1,4 @@ +[DEFAULT] +Depends3: python3-argcomplete, python3-requests, python3-yaml +Debian-Version: 1 +Package3: knotctl