Commit 2f0263a5 authored by Kenneth Reitz's avatar Kenneth Reitz

distribute

parent dfbf20ac
...@@ -67,13 +67,6 @@ source $BIN_DIR/utils ...@@ -67,13 +67,6 @@ source $BIN_DIR/utils
APP_DIR='/app' APP_DIR='/app'
TMP_APP_DIR=$CACHE_DIR/tmp_app_dir 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... # Copy Anvil app dir to temporary storage...
mkdir -p $TMP_APP_DIR mkdir -p $TMP_APP_DIR
deep-mv $APP_DIR $TMP_APP_DIR deep-mv $APP_DIR $TMP_APP_DIR
...@@ -165,9 +158,9 @@ if [ ! "$SKIP_INSTALL" ]; then ...@@ -165,9 +158,9 @@ if [ ! "$SKIP_INSTALL" ]; then
# echo $PATH # echo $PATH
# ls /app/.heroku/python/bin # ls /app/.heroku/python/bin
hash -r 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 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 fi
...@@ -207,7 +200,6 @@ source $BIN_DIR/steps/collectstatic ...@@ -207,7 +200,6 @@ source $BIN_DIR/steps/collectstatic
# ### Finalize # ### Finalize
# #
python --version
# Store new artifacts in cache. # Store new artifacts in cache.
for dir in $CACHED_DIRS; do for dir in $CACHED_DIRS; do
......
...@@ -40,7 +40,7 @@ function set-default-env (){ ...@@ -40,7 +40,7 @@ function set-default-env (){
function deep-cp (){ function deep-cp (){
find -H $1 -maxdepth 1 -name '.*' -a \( -type d -o -type f -o -type l \) -exec cp -a '{}' $2 \; find -H $1 -maxdepth 1 -name '.*' -a \( -type d -o -type f -o -type l \) -exec cp -a '{}' $2 \;
cp -r $1/!(tmp) $2 cp -r $1/!(tmp) $2
echo copying $1 to $2 # echo copying $1 to $2
} }
# Does some serious moving. # Does some serious moving.
......
python-2.6.3 python-2.7.3
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment