mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
26 lines
No EOL
767 B
Python
26 lines
No EOL
767 B
Python
from setuptools import setup, find_packages
|
|
|
|
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,
|
|
package_data={'': ['*.png', '*.jpg', '*.jpeg', '*.gif', '*.bmp', '*.tiff', '*.webp']},
|
|
include_package_data=True,
|
|
entry_points = {
|
|
"console_scripts": [
|
|
"konawall = konawall.gui:main",
|
|
],
|
|
},
|
|
) |