Skip to content

Commit 80fb532

Browse files
committed
Add sdist exclusion - does not seem to work that well though for scikit-build.
1 parent 93602b7 commit 80fb532

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ classifiers = [
1818
[project.urls]
1919
Homepage = "https://github.com/angr/pydemumble"
2020

21-
[tool.setuptools.packages.find]
22-
where = ["src"]
23-
exclude = [".git", ".github"]
24-
2521
[tool.scikit-build]
2622
# Protect the configuration against future changes in scikit-build-core
2723
minimum-version = "build-system.requires"
@@ -32,6 +28,10 @@ build-dir = "build/{wheel_tag}"
3228
# Build stable ABI wheels for CPython 3.12+
3329
wheel.py-api = "cp312"
3430

31+
sdist.include = ["src"]
32+
33+
sdist.exclude = [".vs", ".git", ".github", "__pycache__", "build", "dist", "tests"]
34+
3535
[tool.cibuildwheel]
3636
# Necessary to see build output from the actual compilation
3737
build-verbosity = 1

0 commit comments

Comments
 (0)