diff options
| -rw-r--r-- | distribute_setup.py | 9 | ||||
| -rwxr-xr-x | release.sh | 11 |
2 files changed, 11 insertions, 9 deletions
diff --git a/distribute_setup.py b/distribute_setup.py index 2a616440..1ac9d2f1 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': 'd41d8cd98f00b204e9800998ecf8427e', - 'distribute-0.6-py2.4.egg': 'd41d8cd98f00b204e9800998ecf8427e', - 'distribute-0.6-py2.5.egg': 'd41d8cd98f00b204e9800998ecf8427e', - 'distribute-0.6-py2.6.egg': 'd41d8cd98f00b204e9800998ecf8427e', + 'distribute-0.6-py2.3.egg': '13bc73069e91818142b608aad89f501a', + 'distribute-0.6-py2.4.egg': 'bbbd92be263b436e2e7c73c8011f9674', + 'distribute-0.6-py2.5.egg': '4033cda6bd930fa56711410212cd0c57', + 'distribute-0.6-py2.6.egg': '029edd3dd972f7bc4bd15ff820f65b09', } def _validate_md5(egg_name, data): @@ -400,7 +400,6 @@ 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() @@ -12,11 +12,14 @@ 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 -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 +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 # now preparing the source release python2.6 setup.py -q egg_info -RDb '' sdist register upload +echo You need to commit the md5 changes + + |
