Commit 7f6c43f1 authored by tarek's avatar tarek

added note about commiting the change after the release

--HG--
branch : distribute
extra : rebase_source : de19e64790e20106fa597a8ca1fe350ee92ae67b
parent df21ba23
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment