Commits

ont committed 8c74a28

(+) installing easy_isntall instead...

Comments (0)

Files changed (1)

 fi
 cd $DDIR
 
-echo 'Downloading and installing pip...'
-curl -O https://pypi.python.org/packages/source/p/pip/pip-1.3.tar.gz
-tar xvfz pip-1.3.tar.gz
-cd pip-1.3
+echo 'Downloading and installing setuptools'
+curl -O https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
+sh setuptools-0.6c11-py2.7.egg --install-dir=$DDIR
 
-#echo $PYTHON setup.py install --prefix=$DDIR/pip
-#$PYTHON setup.py install --prefix=$DDIR/pip
-
-$PYTHON setup.py build
-mv ./build/lib/pip $DDIR
-
-echo 'Installing virtualenv...'
-$PYTHON -mpip install --install-option="--prefix=$DDIR" virtualenv
+echo 'Downloading and installing pip && virtualenv && grin...'
+easy_install --install-dir $DDIR pip
+easy_install --install-dir $DDIR virtualenv
+easy_install --install-dir $DDIR grin