sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-18 23:08:50 +00:00
parent a0fe1892c0
commit a526e24d56
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
276 changed files with 5668 additions and 3169 deletions

View file

@ -0,0 +1,25 @@
Exclude source files which have been compiled. Taken from
https://github.com/borgbackup/borg/pull/7832
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -53,6 +53,18 @@ nofuse = []
borg = "borg.archiver:main"
borgfs = "borg.archiver:main"
+[tool.setuptools]
+# See also the MANIFEST.in file.
+# We want to install all the files in the package directories...
+include-package-data = true
+
+[tool.setuptools.packages.find]
+where = ["src"]
+
+[tool.setuptools.exclude-package-data]
+# ...except the source files which have been compiled (C extensions):
+"*" = ["*.c", "*.h", "*.pyx"]
+
[build-system]
requires = ["setuptools", "wheel", "pkgconfig", "Cython", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"