mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 15:20:19 +00:00
20 lines
338 B
Groff
Executable File
20 lines
338 B
Groff
Executable File
#!/usr/bin/env bash
|
|
# Options: <output-dir>
|
|
|
|
OUT_PREFIX=$1
|
|
|
|
echo "Building SQLite..."
|
|
./parts/sqlite $OUT_PREFIX
|
|
|
|
echo "Building Python..."
|
|
SOURCE_TARBALL='http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz'
|
|
curl -L $SOURCE_TARBALL | tar xz
|
|
mv Python-2.6.9 src
|
|
cd src
|
|
|
|
./configure --prefix=$OUT_PREFIX
|
|
make
|
|
make install
|
|
|
|
cd ..
|
|
rm -fr src |