Skip to content

Commit dec66fe

Browse files
committed
! Clean PYTHONPATH for virtualenv so that pure Python modules will not be affected by environment created by recipes.
1 parent a16427e commit dec66fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribute.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ function run_pymodules_install() {
743743
done
744744

745745
debug "Install pure-python modules via pip in venv"
746-
try bash -c "source venv/bin/activate && env CC=/bin/false CXX=/bin/false pip install --target '$SITEPACKAGES_PATH' --download-cache '$PACKAGES_PATH' -r requirements.txt"
746+
try bash -c "source venv/bin/activate && env CC=/bin/false CXX=/bin/false PYTHONPATH= pip install --target '$SITEPACKAGES_PATH' --download-cache '$PACKAGES_PATH' -r requirements.txt"
747747

748748
}
749749

0 commit comments

Comments
 (0)