From d0259eeb61f5baf1c331230d8ee9243e1401c1bd Mon Sep 17 00:00:00 2001 From: deviantfero Date: Tue, 30 Jan 2024 13:18:45 -0600 Subject: [PATCH] setup: add pyproject.toml to replace setup.py --- pyproject.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..bb30bfd --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,39 @@ +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[tool.setuptools.dynamic] +version = {attr = "wpgtk.data.config.__version__"} + +[tool.setuptools.packages.find] +exclude = ["completions"] + +[project] +name = "wpgtk" +dynamic = ["version"] +requires-python = ">=3.5" +dependencies = [ + "Pillow>=4.2.1", + "pywal>=3.3.0", +] +readme = "README.md" +description = "GTK+ theme/wallpaper manager which uses pywal as its core" +authors = [ + {name = "Fernando Vásquez", email = "fmorataya.04@gmail.com"}, +] +classifiers = [ + "Environment :: X11 Applications", + "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", +] +license = {text = "GPL2"} + +[project.urls] +Homepage = "https://github.com/deviantfero/wpgtk" + +[project.scripts] +wpg = "wpgtk.__main__:main"