mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 23:30:17 +00:00
trying out 2.5
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Options: <output-dir>
|
||||||
|
|
||||||
|
OUT_PREFIX=$1
|
||||||
|
|
||||||
|
echo "Building SQLite..."
|
||||||
|
./parts/sqlite $OUT_PREFIX
|
||||||
|
|
||||||
|
echo "Building Python..."
|
||||||
|
SOURCE_TARBALL='http://www.python.org/ftp/python/2.5.6/Python-2.5.6.tar.bz2'
|
||||||
|
curl $SOURCE_TARBALL | tar jx
|
||||||
|
mv Python-2.5.6 src
|
||||||
|
cd src
|
||||||
|
|
||||||
|
./configure --prefix=$OUT_PREFIX
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -fr src
|
||||||
Reference in New Issue
Block a user