mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
bugs
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@ done
|
||||
# Create virtualenv. Rebuild if corrupt.
|
||||
set +e
|
||||
|
||||
echo "-----> Preparing Python ($PYTHON_VERSION)"
|
||||
echo "-----> Preparing Python interpreter ($PYTHON_VERSION)"
|
||||
PYTHON_EXE=$($BIN_DIR/python-build install $PYTHON_VERSION --quiet)
|
||||
|
||||
PYTHON_EXE=./python/vendor/python/bin/python
|
||||
@@ -104,7 +104,7 @@ fi
|
||||
|
||||
# Make virtualenv relocatable.
|
||||
set +e
|
||||
OUT=$(virtualenv --relocatable .)
|
||||
OUT=$(virtualenv --python $PYTHON_EXE --relocatable .)
|
||||
[ $? -ne 0 ] && {
|
||||
echo " ! Error making virtualenv relocatable"
|
||||
echo "$OUT" | indent
|
||||
|
||||
Reference in New Issue
Block a user