fix: reduce size of wheels by excluding generated .c files (#262)
This commit is contained in:
parent
460a072652
commit
dca459900e
@ -37,6 +37,9 @@ def build(setup_kwargs):
|
||||
cmdclass=dict(build_ext=BuildExt),
|
||||
)
|
||||
)
|
||||
setup_kwargs["exclude_package_data"] = {
|
||||
pkg: ["*.c"] for pkg in setup_kwargs["packages"]
|
||||
}
|
||||
except Exception:
|
||||
if os.environ.get("REQUIRE_CYTHON"):
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user