diff options
author | tarek <none@none> | 2009-07-22 11:26:03 +0200 |
---|---|---|
committer | tarek <none@none> | 2009-07-22 11:26:03 +0200 |
commit | 90c91647c0611948136c37cf97d1571a51b336fd (patch) | |
tree | 755fac7b16cf660b274b051b2173eb81dcf04fed | |
parent | b2723a86bbbf1ab74f49c2849111464f50b8ce4a (diff) | |
download | external_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
-rwxr-xr-x | ez_setup.py | 8 | ||||
-rwxr-xr-x | release.sh | 38 |
2 files changed, 23 insertions, 23 deletions
diff --git a/ez_setup.py b/ez_setup.py index 1f4eb247..ec1861d8 100755 --- a/ez_setup.py +++ b/ez_setup.py @@ -32,10 +32,10 @@ DEFAULT_VERSION = "0.6" DEFAULT_URL = "http://bitbucket.org/tarek/distribute/downloads/" md5_data = { - 'distribute-0.6-py2.3.egg': '3fddec6a97c601112612f04d1bfdc3c4', - 'distribute-0.6-py2.4.egg': '743af8420ff2febad28e8f88b43af642', - 'distribute-0.6-py2.5.egg': '8da62077b114327d3c73f00506dc638e', - 'distribute-0.6-py2.6.egg': '2eba87b31ae6530604cf09ccc136f62d', + 'distribute-0.6-py2.3.egg': '2bf26bffe3d8c910de396d45c0f0a24f', + 'distribute-0.6-py2.4.egg': 'c01b1355a5f48344c1c78149f59f68a6', + 'distribute-0.6-py2.5.egg': '2ac319d801bce820a370647916eec84c', + 'distribute-0.6-py2.6.egg': 'fa7906f9caa2c1f0a56daf486bab1583', } def _validate_md5(egg_name, data): @@ -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" |