[Python-checkins] r67897 - sandbox/trunk/release/release.py

benjamin.peterson python-checkins at python.org
Sun Dec 21 21:37:04 CET 2008


Author: benjamin.peterson
Date: Sun Dec 21 21:37:03 2008
New Revision: 67897

Log:
add the python version to doc archives

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 21:37:03 2008
@@ -262,7 +262,7 @@
             for name in ('Include/Python-ast.h', 'Python/Python-ast.c'):
                 os.utime(name, None)
 
-            docdist = build_docs()
+            docdist = build_docs(tag)
         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():
+def build_docs(tag):
     """Build and tarball the documentation"""
     print "Building docs"
     with changed_dir('Doc'):
-        run_cmd(['make', 'dist'])
+        run_cmd(['make', 'dist', 'DISTVERSION=' + tag])
         return os.path.abspath('dist')
 
 


More information about the Python-checkins mailing list