Commits

Anonymous committed 8b9ff3e

using a temp dir to avoid using the site.py that is in the current dir when 2to3 runs

  • Participants
  • Parent commits 4145cc1
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

 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/