Skip to content

Commit 0032dbf

Browse files
committed
do not ship cpp and pyx files in wheel
1 parent 16f13cb commit 0032dbf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ dependencies = [
1515
license = {file = "LICENSE.txt"}
1616
version = "0.0.1"
1717

18-
[tool.setuptools]
19-
packages = ["quantlib"]
18+
[tool.setuptools.packages.find]
19+
include = ["quantlib*"]
20+
21+
[tool.setuptools.exclude-package-data]
22+
"*" = ["**.cpp", "**.pyx"]
2023

2124
[tool.uv]
2225
config-settings = { "--build-option" = "build_ext -j6" }

0 commit comments

Comments
 (0)