From 4aa1343cf1f03f0a67cebca771d0f4ea34f963a2 Mon Sep 17 00:00:00 2001 From: krateng Date: Thu, 23 Dec 2021 06:51:17 +0100 Subject: [PATCH] Added experimental pyproject.toml --- .gitignore | 14 +++++++++----- pyproject.toml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore index 2964557..c93492d 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f643516 --- /dev/null +++ b/pyproject.toml @@ -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"