mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 23:30:17 +00:00
2.7.1, 2.7.2
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Usage: $ build.sh <output-dir
|
||||
|
||||
SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2'
|
||||
SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tar.bz2'
|
||||
curl $SOURCE_TARBALL | tar jx
|
||||
mv Python-2.7.3 src
|
||||
mv Python-2.7.1 src
|
||||
cd src
|
||||
|
||||
./configure --prefix=$(pwd)/../python
|
||||
@@ -11,4 +11,4 @@ make
|
||||
make install
|
||||
|
||||
cd ..
|
||||
tar cjf python-2.7.3.tar.bz2 python/
|
||||
tar cjf python-2.7.1.tar.bz2 python/
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Usage: $ build.sh <output-dir
|
||||
|
||||
SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2'
|
||||
SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2'
|
||||
curl $SOURCE_TARBALL | tar jx
|
||||
mv Python-2.7.3 src
|
||||
mv Python-2.7.2 src
|
||||
cd src
|
||||
|
||||
./configure --prefix=$(pwd)/../python
|
||||
@@ -11,4 +11,4 @@ make
|
||||
make install
|
||||
|
||||
cd ..
|
||||
tar cjf python-2.7.3.tar.bz2 python/
|
||||
tar cjf python-2.7.2.tar.bz2 python/
|
||||
Reference in New Issue
Block a user