aboutsummaryrefslogtreecommitdiffstats
path: root/release.sh
diff options
context:
space:
mode:
authortarek <none@none>2009-10-09 12:54:49 +0200
committertarek <none@none>2009-10-09 12:54:49 +0200
commit79f61d0c5d40e0d1e100d6f6754c9b1b4c003829 (patch)
tree168c03bea85b08b6a5641f5ba3f6d5193953e086 /release.sh
parentbd51d25890b72b3beda8b5c7e919a77cfb18ed25 (diff)
downloadexternal_python_setuptools-79f61d0c5d40e0d1e100d6f6754c9b1b4c003829.tar.gz
external_python_setuptools-79f61d0c5d40e0d1e100d6f6754c9b1b4c003829.tar.bz2
external_python_setuptools-79f61d0c5d40e0d1e100d6f6754c9b1b4c003829.zip
using a temp dir to avoid using the site.py that is in the current dir when 2to3 runs
--HG-- branch : distribute extra : rebase_source : 18f1e97291dc5745849df981627630295acd601e
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/release.sh b/release.sh
index e0550535..772bba97 100755
--- a/release.sh
+++ b/release.sh
@@ -2,17 +2,21 @@
export VERSION="0.6.4"
# creating the 3k script
-cp distribute_setup.py distribute_setup.py.back
-2to3 -w distribute_setup.py > /dev/null
-mv distribute_setup.py distribute_setup_3k.py
-mv distribute_setup.py.back distribute_setup.py
+mkdir ./temp
+cp distribute_setup.py ./temp/distribute_setup.py
+cd ./temp
+2to3 -w distribute_setup.py > /dev/null
+mv distribute_setup.py ../distribute_setup_3k.py
+cd ..
+rm -rf ./temp
# creating the releases
-rm -rf dist
+rm -rf ./dist
# now preparing the source release
python2.6 setup.py -q egg_info -RDb '' sdist register upload
-# pushing the bootstrap script
+# pushing the bootstrap scripts
scp distribute_setup.py ziade.org:nightly/build/
+scp distribute_setup_3k.py ziade.org:nightly/build/