aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--distribute_setup.py9
-rwxr-xr-xrelease.sh22
-rw-r--r--upload.sh6
3 files changed, 16 insertions, 21 deletions
diff --git a/distribute_setup.py b/distribute_setup.py
index 24882a84..2a616440 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -34,10 +34,10 @@ DEFAULT_VERSION = "0.6"
DEFAULT_URL = "http://pypi.python.org/packages/%s/d/distribute/" % sys.version[:3]
md5_data = {
- 'distribute-0.6-py2.3.egg': '71c3b220419b3772c4522eca622ff091',
- 'distribute-0.6-py2.4.egg': '845c9837845d1e50d64e2a978bf60b0f',
- 'distribute-0.6-py2.5.egg': 'ebaa166a2b20d56ac236b16ef597aa2c',
- 'distribute-0.6-py2.6.egg': 'd95c2a32b82d7f7b545434f7e322a83d',
+ 'distribute-0.6-py2.3.egg': 'd41d8cd98f00b204e9800998ecf8427e',
+ 'distribute-0.6-py2.4.egg': 'd41d8cd98f00b204e9800998ecf8427e',
+ 'distribute-0.6-py2.5.egg': 'd41d8cd98f00b204e9800998ecf8427e',
+ 'distribute-0.6-py2.6.egg': 'd41d8cd98f00b204e9800998ecf8427e',
}
def _validate_md5(egg_name, data):
@@ -400,6 +400,7 @@ def update_md5(filenames):
for name in filenames:
base = os.path.basename(name)
f = open(name,'rb')
+ print 'hash for %s: %s' % (name, md5(f.read()).hexdigest())
md5_data[base] = md5(f.read()).hexdigest()
f.close()
diff --git a/release.sh b/release.sh
index f3186a9f..7dfef15f 100755
--- a/release.sh
+++ b/release.sh
@@ -6,17 +6,17 @@ export VERSION="0.6"
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
+python2.3 setup.py -q egg_info -RDb '' bdist_egg # manual upload
+python2.4 setup.py -q egg_info -RDb '' bdist_egg # manual upload
+python2.5 setup.py -q egg_info -RDb '' bdist_egg register upload
+python2.6 setup.py -q egg_info -RDb '' bdist_egg register upload
# updating the md5 hashes
-python distribute_setup.py --md5update dist/distribute-$VERSION-py2.3.egg
-python distribute_setup.py --md5update dist/distribute-$VERSION-py2.4.egg
-python distribute_setup.py --md5update dist/distribute-$VERSION-py2.5.egg
-python distribute_setup.py --md5update dist/distribute-$VERSION-py2.6.egg
+python2.6 distribute_setup.py --md5update dist/distribute-$VERSION-py2.3.egg \
+ dist/distribute-$VERSION-py2.4.egg \
+ dist/distribute-$VERSION-py2.5.egg \
+ dist/distribute-$VERSION-py2.6.egg
+
+# now preparing the source release
+python2.6 setup.py -q egg_info -RDb '' sdist register upload
diff --git a/upload.sh b/upload.sh
deleted file mode 100644
index 53dfda93..00000000
--- a/upload.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-# upload for 2.5 and 2.6
-# 2.3 and 2.4 are manual
-python2.5 setup.py egg_info -RDb '' bdist_egg register upload
-python2.6 setup.py egg_info -RDb '' bdist_egg sdist register upload
-
-