mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
17 lines
336 B
Bash
Executable File
17 lines
336 B
Bash
Executable File
#!/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 $BUILD_DIR/.vendor/python
|
|
./configure --prefix $BUILD_DIR/.vendor/python
|
|
make
|
|
make install
|
|
|
|
rm -fr python python.tar.gz2
|