Skip to content
Browse files

Fix git requirements across the board.

  • Loading branch information...
1 parent eaae6b9 commit 123639b436ae1369812c44c1d3e9a7423df083d7 @kennethreitz kennethreitz committed Feb 1, 2012
Showing with 9 additions and 2 deletions.
  1. +6 −0 Makefile
  2. +3 −2 bin/compile
  3. BIN src/virtualenv-1.7/virtualenv_support/pip-1.0.2.tar.gz
View
6 Makefile
@@ -0,0 +1,6 @@
+pip:
+ git clone git@github.com:kennethreitz/pip.git --branch heroku --depth 1
+ rm -fr src/virtualenv-1.7/virtualenv_support/pip-1.0.2.tar.gz
+ rm -fr pip/.git
+ tar -pczf src/virtualenv-1.7/virtualenv_support/pip-1.0.2.tar.gz pip
+ rm -fr pip
View
5 bin/compile
@@ -16,6 +16,7 @@ PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-$CACHE_DIR/pip_downloads}
VIRTUALENV_DIRS="bin include lib"
VENDORED_MEMCACHED="http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz"
+unset GIT_DIR
export PIP_DOWNLOAD_CACHE
indent() {
@@ -86,8 +87,8 @@ if (grep -Fiq "hg+" requirements.txt) then
fi
# Install dependencies.
-echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')"
-pip install --use-mirrors -r requirements.txt | indent
+echo "-----> Installing dependencies using pip version $(pip --version | awk '{print $2}')"
+pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent
# Django support.
if [ "$NAME" = "Python/Django" ]; then
View
BIN src/virtualenv-1.7/virtualenv_support/pip-1.0.2.tar.gz
Binary file not shown.

0 comments on commit 123639b

Please sign in to comment.
Something went wrong with that request. Please try again.