[Python-checkins] r67899 - sandbox/trunk/release/release.py
benjamin.peterson
python-checkins at python.org
Sun Dec 21 22:01:08 CET 2008
Author: benjamin.peterson
Date: Sun Dec 21 22:01:08 2008
New Revision: 67899
Log:
revert last revision; I got a better idea for the Doc Makefile
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 21 22:01:08 2008
@@ -262,7 +262,7 @@
for name in ('Include/Python-ast.h', 'Python/Python-ast.c'):
os.utime(name, None)
- docdist = build_docs(tag)
+ docdist = build_docs()
shutil.copytree(docdist, 'docs')
with changed_dir(os.path.join(archivename, 'Doc')):
@@ -283,11 +283,11 @@
print '**You may also want to run make install and re-test**'
-def build_docs(tag):
+def build_docs():
"""Build and tarball the documentation"""
print "Building docs"
with changed_dir('Doc'):
- run_cmd(['make', 'dist', 'DISTVERSION=' + tag])
+ run_cmd(['make', 'dist'])
return os.path.abspath('dist')
More information about the Python-checkins
mailing list