Added experimental pyproject.toml

This commit is contained in:
krateng 2021-12-23 06:51:17 +01:00
parent 36c8f2654e
commit 4aa1343cf1
2 changed files with 47 additions and 5 deletions

14
.gitignore vendored
View File

@ -2,13 +2,17 @@
*.pyc
*.note
*.xcf
nohup.out
*-old
*.yml
pylintrc
/nohup.out
/*-old
/*.yml
/pylintrc
# build
/dist
/build
# local actions
scripts/*
/scripts/*
# currently not using
/screenshot*.png

38
pyproject.toml Normal file
View File

@ -0,0 +1,38 @@
[project]
name = "maloja"
version = "2.13.4"
description = "Self-hosted music scrobble database"
readme = "./README.md"
requires-python = ">=3.6"
license = { file="./LICENSE" }
authors = [ { name="Johannes Krattenmacher", email="maloja@dev.krateng.ch" } ]
urls.repository = "https://github.com/krateng/maloja"
urls.documentation = "https://github.com/krateng/maloja"
urls.homepage = "https://maloja.krateng.ch"
keywords = ["scrobbling", "music", "selfhosted", "database", "charts", "statistics"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"
]
dependencies = [
"bottle>=0.12.16",
"waitress>=1.3",
"doreah>=1.7.1",
"nimrodel>=0.7.0",
"setproctitle>=1.1.10",
"wand>=0.5.4",
"jinja2>=2.11",
"lru-dict>=1.1.6",
"css_html_js_minify>=2.5.5"
]
[project.scripts]
maloja = "proccontrol.control:main"
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"