BLD: pin to Cython~=0.29, ignore .c and .pyx files in wheels
[build-system]
requires = [
- "cython",
+ "Cython~=0.29",
"oldest-supported-numpy",
"setuptools>=61.0.0",
]
@@ -57,11 +57,14 @@ docs = [
Documentation = "https://shapely.readthedocs.io/"
Repository = "https://github.com/shapely/shapely"
+[tool.setuptools]
+include-package-data = false
+
[tool.setuptools.packages.find]
-include = [
- "shapely",
- "shapely.*",
-]
+include = ["shapely", "shapely.*"]
+
+[tool.setuptools.package-data]
+"shapely" = ["*.pxd"]
[tool.coverage.run]
source = ["shapely"]
