License as MIT, KDE support, nix package and flake

This commit is contained in:
Kat Inskip 2023-11-12 12:56:47 -08:00
parent 3c196d83d0
commit 4a18fa6337
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
19 changed files with 219 additions and 39 deletions

24
setup.py Normal file
View file

@ -0,0 +1,24 @@
from setuptools import setup
with open("README.MD", "r") as f:
long_description = f.read()
import tomllib
with open("pyproject.toml", "rb") as f:
pyproject = tomllib.load(f)
poetryBlock = pyproject["tool"]["poetry"]
setup(
name = poetryBlock["name"],
version = poetryBlock["version"],
author = poetryBlock["authors"][0].split(" <")[0],
author_email = poetryBlock["authors"][0].split(" <")[1][:-1],
description = poetryBlock["description"],
long_description = long_description,
entry_points = {
"console_scripts": [
"konawall = konawall.gui:main",
],
},
)