From 20aa2432039e6be3ad9b730f3495c2002bd6798f Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Sat, 18 Nov 2023 16:55:24 -0300 Subject: [PATCH] adding pyproject.toml --- pyproject.toml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..9d73b7fe --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,56 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "bauh" +description = "Graphical interface to manage Linux applications (AppImage, Arch / AUR, Flatpak, Snap and Web)" +license = {file = "LICENSE"} +requires-python = ">=3.6" +dynamic = ["version"] +readme = "README.md" +authors = [{name = "Vinicius Moreira", email = "vinicius_fmoreira@hotmail.com"}] +classifiers = [ + 'Topic :: Utilities', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11' +] + +dependencies = [ + "pyqt5 >= 5.12", + "requests >= 2.18", + "colorama >= 0.3.8", + "pyyaml >= 3.13", + "python-dateutil >= 2.7" +] + +[project.optional-dependencies] +web = [ + "lxml >= 4.2.0", + "beautifulsoup4 >= 4.7.0" +] + +[project.scripts] +bauh = "bauh.app:main" +bauh-tray = "bauh.app:tray" +bauh-cli = "bauh.cli.app:main" + +[project.urls] +Repository = "https://github.com/vinifmor/bauh" + +[tool.setuptools] +license-files = ["LICENSE"] + +[tool.setuptools.dynamic] +version = {attr = "bauh.__version__"} + +[tool.setuptools.packages.find] +exclude = ["tests"] + +[tool.setuptools.package-data] +bauh = ["view/resources/locale/*", "view/resources/img/*", "view/resources/style/*", 'view/resources/style/*/img/*', "gems/*/resources/img/*", "gems/*/resources/locale/*", "desktop/*"]