Skip to content

Commit ba5b4d0

Browse files
committed
Prefix build command with PYTHONNOUSERSITE=1
By prefixing the build command with PYTHONNOUSERSITE=1 we ignore user site packages, ensuring modules are properly installed into the relocatable framework.
1 parent 6399225 commit ba5b4d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎deps/frameworks/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ all: Python.framework
77
$(BIN)/pip3 install --upgrade ../..
88

99
Python.framework: relocatable-python
10-
python3 ./relocatable-python/make_relocatable_python_framework.py $(BUILD_OPTS)
10+
PYTHONNOUSERSITE=1 python3 ./relocatable-python/make_relocatable_python_framework.py $(BUILD_OPTS)
1111
$(BIN)/python3 config.py ../../app/python.xcconfig
1212

1313
relocatable-python:

0 commit comments

Comments
 (0)