mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
distribute
This commit is contained in:
+2
-10
@@ -67,13 +67,6 @@ source $BIN_DIR/utils
|
||||
APP_DIR='/app'
|
||||
TMP_APP_DIR=$CACHE_DIR/tmp_app_dir
|
||||
|
||||
ls -a $APP_DIR
|
||||
ls -a $APP_DIR/tmp
|
||||
|
||||
echo 'touching things...'
|
||||
touch $app_dir/tmp/newfile
|
||||
mkdir -p $app_dir/tmp/newdir
|
||||
|
||||
# Copy Anvil app dir to temporary storage...
|
||||
mkdir -p $TMP_APP_DIR
|
||||
deep-mv $APP_DIR $TMP_APP_DIR
|
||||
@@ -165,9 +158,9 @@ if [ ! "$SKIP_INSTALL" ]; then
|
||||
# echo $PATH
|
||||
# ls /app/.heroku/python/bin
|
||||
hash -r
|
||||
python $ROOT_DIR/vendor/distribute-0.6.32/distribute_setup.py > /dev/null
|
||||
python $ROOT_DIR/vendor/distribute-0.6.32/distribute_setup.py &> /dev/null
|
||||
hash -r
|
||||
easy_install $ROOT_DIR/vendor/pip-1.2.1.tar.gz > /dev/null
|
||||
easy_install $ROOT_DIR/vendor/pip-1.2.1.tar.gz &> /dev/null
|
||||
fi
|
||||
|
||||
|
||||
@@ -207,7 +200,6 @@ source $BIN_DIR/steps/collectstatic
|
||||
|
||||
# ### Finalize
|
||||
#
|
||||
python --version
|
||||
|
||||
# Store new artifacts in cache.
|
||||
for dir in $CACHED_DIRS; do
|
||||
|
||||
@@ -40,7 +40,7 @@ function set-default-env (){
|
||||
function deep-cp (){
|
||||
find -H $1 -maxdepth 1 -name '.*' -a \( -type d -o -type f -o -type l \) -exec cp -a '{}' $2 \;
|
||||
cp -r $1/!(tmp) $2
|
||||
echo copying $1 to $2
|
||||
# echo copying $1 to $2
|
||||
}
|
||||
|
||||
# Does some serious moving.
|
||||
|
||||
@@ -1 +1 @@
|
||||
python-2.6.3
|
||||
python-2.7.3
|
||||
Reference in New Issue
Block a user