mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 15:20:19 +00:00
python-3.4.0rc1
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/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/3.4.0/Python-3.4.0rc1.tgz'
|
||||
curl $SOURCE_TARBALL | tar xz
|
||||
mv Python-3.4.0rc1 src
|
||||
cd src
|
||||
|
||||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
|
||||
make
|
||||
make install
|
||||
|
||||
cd ..
|
||||
rm -fr src
|
||||
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python
|
||||
Reference in New Issue
Block a user