mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 12:29:19 -08:00
License as MIT, KDE support, nix package and flake
This commit is contained in:
parent
3c196d83d0
commit
4a18fa6337
19 changed files with 219 additions and 39 deletions
24
setup.py
Normal file
24
setup.py
Normal 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",
|
||||
],
|
||||
},
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue