generated from dopt-python/py311
Cython Integration and Test Case Enhancements #1
@ -32,7 +32,7 @@ def delete_source_files_from_wheel(pth_to_whl: Path):
|
|||||||
tmp_dir.mkdir()
|
tmp_dir.mkdir()
|
||||||
filename = pth_to_whl.name
|
filename = pth_to_whl.name
|
||||||
tmp_whl = tmp_dir / filename
|
tmp_whl = tmp_dir / filename
|
||||||
pattern = re.compile(r".*\.c$|.*detection.py$")
|
pattern = re.compile(r".*\.c$|.*detection.py$|.*\.pyi$")
|
||||||
|
|
||||||
with zipfile.ZipFile(pth_to_whl, mode="r") as src:
|
with zipfile.ZipFile(pth_to_whl, mode="r") as src:
|
||||||
with zipfile.ZipFile(tmp_whl, mode="w") as dst:
|
with zipfile.ZipFile(tmp_whl, mode="w") as dst:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user