File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 25
25
- name : Run Build
26
26
run : bash build.mac.sh "${{ github.workspace }}/Nuitka-Python-Out"
27
27
- name : Cleanup artifact
28
- run : find "${{ github.workspace }}/Nuitka-Python-Out" \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
28
+ run : find "${{ github.workspace }}/Nuitka-Python-Out" \( -iname '*.o' -iname '*.pc' - o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
29
29
- uses : actions/upload-artifact@v4
30
30
with :
31
31
name : Nuitka-Python311_mac_arm64
Original file line number Diff line number Diff line change @@ -252,6 +252,10 @@ def main():
252
252
if platform .system () == "Darwin" :
253
253
os .environ ["MACOSX_DEPLOYMENT_TARGET" ] = "10.9"
254
254
255
+ # pkg-config uses absolute paths, which do not allow for
256
+ if platform .system () != "Windows" :
257
+ os .environ ["PKG_CONFIG" ] = "/disabled"
258
+
255
259
import site
256
260
257
261
for path in site .getsitepackages ():
You can’t perform that action at this time.
0 commit comments