mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 23:30:17 +00:00
21 lines
360 B
Bash
Executable File
21 lines
360 B
Bash
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://www.stackless.com/binaries/stackless-265-export.tar.bz2'
|
|
curl -L $SOURCE_TARBALL | tar xj
|
|
mv python-2.6.5-stackless src
|
|
cd src
|
|
|
|
./configure --prefix=$OUT_PREFIX
|
|
make
|
|
make install
|
|
|
|
cd ..
|
|
rm -fr src
|