mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a8220a20ba | |||
| 123639b436 |
+8
-1
@@ -1,8 +1,15 @@
|
|||||||
|
## v5 (02/01/2012)
|
||||||
|
|
||||||
|
Bugfixes:
|
||||||
|
|
||||||
|
* Git requirements 100% work.
|
||||||
|
|
||||||
|
|
||||||
## v4 (01/20/2012)
|
## v4 (01/20/2012)
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
* Updated to virtualenv v1.7 and patched pip v1.2.
|
* Updated to virtualenv v1.7 with patched pip v1.2.
|
||||||
* Actually activate created virtualenv within compile process.
|
* Actually activate created virtualenv within compile process.
|
||||||
* Use distribute instead of deprecated setuptools.
|
* Use distribute instead of deprecated setuptools.
|
||||||
* Automatically destroy and rebuild corrupt virtualenvs.
|
* Automatically destroy and rebuild corrupt virtualenvs.
|
||||||
|
|||||||
@@ -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
|
||||||
+3
-2
@@ -16,6 +16,7 @@ PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-$CACHE_DIR/pip_downloads}
|
|||||||
VIRTUALENV_DIRS="bin include lib"
|
VIRTUALENV_DIRS="bin include lib"
|
||||||
VENDORED_MEMCACHED="http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz"
|
VENDORED_MEMCACHED="http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz"
|
||||||
|
|
||||||
|
unset GIT_DIR
|
||||||
export PIP_DOWNLOAD_CACHE
|
export PIP_DOWNLOAD_CACHE
|
||||||
|
|
||||||
indent() {
|
indent() {
|
||||||
@@ -86,8 +87,8 @@ if (grep -Fiq "hg+" requirements.txt) then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install dependencies.
|
# Install dependencies.
|
||||||
echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')"
|
echo "-----> Installing dependencies using pip version $(pip --version | awk '{print $2}')"
|
||||||
pip install --use-mirrors -r requirements.txt | indent
|
pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent
|
||||||
|
|
||||||
# Django support.
|
# Django support.
|
||||||
if [ "$NAME" = "Python/Django" ]; then
|
if [ "$NAME" = "Python/Django" ]; then
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user