[Python-checkins] r87091 - sandbox/trunk/release/release.py
georg.brandl
python-checkins at python.org
Sun Dec 5 12:53:06 CET 2010
Author: georg.brandl
Date: Sun Dec 5 12:53:05 2010
New Revision: 87091
Log:
Fix-ups for rename of dist dir.
Modified:
sandbox/trunk/release/release.py
Modified: sandbox/trunk/release/release.py
==============================================================================
--- sandbox/trunk/release/release.py (original)
+++ sandbox/trunk/release/release.py Sun Dec 5 12:53:05 2010
@@ -203,11 +203,11 @@
os.mkdir(name)
except OSError:
if os.path.isdir(name):
- print('WARNING: dist already exists', file=sys.stderr)
+ print('WARNING: dist dir %s already exists' % name, file=sys.stderr)
else:
- error('dist/ is not a directory')
+ error('%s/ is not a directory' % name)
else:
- print('created dist directory')
+ print('created dist directory %s' % name)
def tarball(source):
"""Build tarballs for a directory."""
@@ -290,7 +290,8 @@
os.mkdir('src')
with changed_dir('src'):
tarball(os.path.join("..", archivename))
- print('\n**Now extract the archives in dist/src and run the tests**')
+ print()
+ print('**Now extract the archives in %s/src and run the tests**' % tag.text)
print('**You may also want to run make install and re-test**')
More information about the Python-checkins
mailing list