Commit c8abf82
Simon Rit
BUG: Clean-up ._* files in venv to fix Intel MacOS issue
dot_clean recursively merges all ._* files with their corresponding
native files. Applying it in `macpython-build-tarball.sh` removes them
from future tar balls, applying it in
`scripts/macpython-build-module-wheels.sh` addresses the ITK v5.4.3
Intel MacOS error:
```
+ /Users/svc-dashboard/D/P/ITKPythonPackage/scripts/../venvs/3.11/bin/python3 -m pip install --no-cache delocate
Fatal Python error: init_import_site: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap>", line 980, in exec_module
File "<frozen site>", line 616, in <module>
File "<frozen site>", line 599, in main
File "<frozen site>", line 531, in venv
File "<frozen site>", line 384, in addsitepackages
File "<frozen site>", line 226, in addsitedir
File "<frozen site>", line 179, in addpackage
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 45: invalid start byte
```1 parent 3ad3bf0 commit c8abf82
File tree
2 files changed
+2
-0
lines changed- scripts
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments