Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2022-12-30 16:01:15 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-28 14:53:14 +0300
commit76c32a5d44d7bd197ccbc9e5a6955ff2e4022066 (patch)
tree4744438e15f409cf54f97c2a91c162342427fb2d /pyproject.toml
parent4c57bd71c6665803be2c61445c90fa2295dd993a (diff)
new: Add custom PEP517 build backend
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml17
1 files changed, 6 insertions, 11 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 09daf3287..1b1dfebb1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,8 @@
requires = [
"setuptools >= 65.0.0",
]
-build-backend = "setuptools.build_meta"
+build-backend = "backend"
+backend-path = ["pep517build"]
[project]
name = "gajim"
@@ -56,25 +57,18 @@ gajim-remote = "gajim.gajim_remote:main"
[project.gui-scripts]
gajim = "gajim.gajim:main"
-[tool.setuptools]
-include-package-data = true
-
[tool.setuptools.packages.find]
include = ["gajim*"]
-# Necessary so gajim.data is recogniced as namespace package and all files
-# under it are included as package-data
-namespaces = true
[tool.setuptools.package-data]
-"gajim.data" = [
- "icons/**/index.theme",
-]
+gajim = ["py.typed"]
+"gajim.data" = ["**/*"]
[tool.setuptools.dynamic]
version = {attr = "gajim.__version__"}
[tool.codespell]
-skip = "*__pycache__*,build,test,*.egg-info,.git,*.po,*.nsi,*.spec"
+skip = "*__pycache__*,build,dist,test,*.egg-info,.git,*.po,*.nsi,*.spec"
ignore-words-list = "claus,pres,ser,trough"
[tool.pyright]
@@ -113,6 +107,7 @@ include = [
"mac/*",
"scripts/*",
"win/*",
+ "pep517build/*",
"gajim/common/application.py",
"gajim/common/call_manager.py",
"gajim/common/cert_store.py",