mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
hacky compile
This commit is contained in:
+3
-1
@@ -57,7 +57,9 @@ done
|
||||
set +e
|
||||
|
||||
echo "-----> Preparing Python ($PYTHON_VERSION)"
|
||||
PYTHON_EXE=$(python-build install $PYTHON_VERSION --quiet)
|
||||
PYTHON_EXE=$(./python-build install $PYTHON_VERSION --quiet)
|
||||
|
||||
PYTHON_EXE=./python/vendor/python/bin/python
|
||||
|
||||
echo "-----> Preparing virtualenv version $(virtualenv --version)"
|
||||
|
||||
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# python-build <version> [--quiet]
|
||||
|
||||
curl -o python.tar.bz2 http://python.org/ftp/python/2.7.3/Python-2.7.3rc1.tar.bz2
|
||||
mkdir python
|
||||
tar -xjf python.tar.bz2 -C python
|
||||
|
||||
cd python
|
||||
mv */* .
|
||||
|
||||
mkdir -p vendor/python
|
||||
OLD_OATH=$PWD
|
||||
cd vendor/python
|
||||
PY_PATH=$PWD
|
||||
cd $OLD_OATH
|
||||
|
||||
./configure --prefix $PY_PATH
|
||||
make
|
||||
make install
|
||||
Reference in New Issue
Block a user