aboutsummaryrefslogtreecommitdiffstats
path: root/release.sh
diff options
context:
space:
mode:
authortarek <none@none>2009-07-22 11:26:03 +0200
committertarek <none@none>2009-07-22 11:26:03 +0200
commit90c91647c0611948136c37cf97d1571a51b336fd (patch)
tree755fac7b16cf660b274b051b2173eb81dcf04fed /release.sh
parentb2723a86bbbf1ab74f49c2849111464f50b8ce4a (diff)
downloadexternal_python_setuptools-90c91647c0611948136c37cf97d1571a51b336fd.tar.gz
external_python_setuptools-90c91647c0611948136c37cf97d1571a51b336fd.tar.bz2
external_python_setuptools-90c91647c0611948136c37cf97d1571a51b336fd.zip
re-wrote the release.sh script
--HG-- branch : distribute extra : rebase_source : 4d70b693676a2e6e290e3cc097fde2cca9412d38
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh38
1 files changed, 19 insertions, 19 deletions
diff --git a/release.sh b/release.sh
index bc70df05..36a3ea03 100755
--- a/release.sh
+++ b/release.sh
@@ -1,24 +1,24 @@
#!/bin/sh
-# This script is for PJE's working environment only, to upload
-# releases to PyPI, telecommunity, eby-sarna SVN, update local
-# project checkouts, etc.
-#
-# If your initials aren't PJE, don't run it. :)
-#
-
export VERSION="0.6"
-python2.3 setup.py -q release source --target-version=2.3 upload && \
-python2.4 setup.py -q release binary --target-version=2.4 upload && \
-python2.5 setup.py -q release binary --target-version=2.5 upload && \
-python2.3 ez_setup.py --md5update dist/setuptools-$VERSION*-py2.?.egg && \
- cp ez_setup.py virtual-python.py ~/distrib/ && \
- cp ez_setup.py ~/projects/ez_setup/__init__.py && \
- svn ci -m "Update ez_setup for setuptools $VERSION" \
- ~/projects/ez_setup/__init__.py #&& \
- #svn up ~/projects/*/ez_setup
+# creating the releases
+rm -rf dist
+
+# eggs
+python2.3 setup.py -q egg_info -RDb '' bdist_egg
+python2.4 setup.py -q egg_info -RDb '' bdist_egg
+python2.5 setup.py -q egg_info -RDb '' bdist_egg
+python2.6 setup.py -q egg_info -RDb '' bdist_egg
+
+# source
+python2.6 setup.py -q egg_info -RDb '' sdist
+
+# updating the md5 hashes
+python ez_setup.py --md5update dist/distribute-$VERSION-py2.3.egg
+python ez_setup.py --md5update dist/distribute-$VERSION-py2.4.egg
+python ez_setup.py --md5update dist/distribute-$VERSION-py2.5.egg
+python ez_setup.py --md5update dist/distribute-$VERSION-py2.6.egg
+
+# XXX uploads will be done here
-# update wiki pages from EasyInstall.txt, setuptools.txt, &
-# pkg_resources.txt
-python2.5 setup.py wikiup -c "Released version: $VERSION"