File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ for PYTHON in $PYTHONS ; do
4545 PYTHON_VERSION=${PYTHON_VERSION/ " Python " / " " }
4646 PYTHON_VERSION_S=` echo $PYTHON_VERSION | sed -e " s/\(^[[:digit:]]\{1,\}.[[:digit:]]\{1,\}\).*/\1/" `
4747
48- if [[ $PYTHON_VERSION_S = " 2.4" ]] || [[ $PYTHON_VERSION_S = " 2.5" ]] || [[ $PYTHON_VERSION_S = " 2.6" ]] ; then
48+ if [[ $PYTHON_VERSION_S = " 2.4" ]] || [[ $PYTHON_VERSION_S = " 2.5" ]] || [[ $PYTHON_VERSION_S = " 2.6" ]] || [[ $PYTHON_VERSION_S = " 2.7 " ]] ; then
4949 PYTHON_FOUND=' 1'
5050 break
5151 fi
5252done
5353if [[ $PYTHON_FOUND != ' 1' ]] ; then
54- echo " pythonbrew required Python (2.4, 2.5 or 2.6 )."
54+ echo " pythonbrew required Python (2.4, 2.5, 2.6 or 2.7 )."
5555 # TODO Installing python.
5656 exit
5757fi
6363PATH_DISTS=" $ROOT /dists"
6464
6565STABLE_VERSION=` curl -skL https://github.com/utahta/pythonbrew/raw/master/stable-version.txt`
66+ if [[ $STABLE_VERSION = " " ]] ; then
67+ echo ' Could not get stable-version of pythonbrew.'
68+ exit 1
69+ fi
6670TEMP_FILE=" pythonbrew-$STABLE_VERSION "
6771TEMP_TARBALL=" $TEMP_FILE .tar.gz"
6872DOWNLOAD_URL=" http://pypi.python.org/packages/source/p/pythonbrew/$TEMP_TARBALL "
Original file line number Diff line number Diff line change 1010 description = "Manage python installations in your $HOME" ,
1111 long_description = long_description ,
1212 classifiers = [
13- 'Development Status :: 4 - Beta ' ,
13+ 'Development Status :: 5 - Production/Stable ' ,
1414 'Intended Audience :: Developers' ,
1515 'License :: OSI Approved :: MIT License' ,
1616 'Topic :: Software Development :: Build Tools' ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class InstallOptions(object):
55 configure = ""
66 no_setuptools = False
77 alias = None
8+ jobs = 2
89
910def test_install ():
1011 from pythonbrew .commands .install import InstallCommand
You can’t perform that action at this time.
0 commit comments