Add setup tools
This commit is contained in:
parent
04e2350749
commit
50db3b7deb
3 changed files with 30 additions and 0 deletions
0
knotctl → scripts/knotctl
Normal file → Executable file
0
knotctl → scripts/knotctl
Normal file → Executable file
26
setup.py
Normal file
26
setup.py
Normal file
|
@ -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"],
|
||||||
|
)
|
4
stdeb.cfg
Normal file
4
stdeb.cfg
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[DEFAULT]
|
||||||
|
Depends3: python3-argcomplete, python3-requests, python3-yaml
|
||||||
|
Debian-Version: 1
|
||||||
|
Package3: knotctl
|
Loading…
Add table
Reference in a new issue