[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - app.py:1.52

Fred L. Drake, Jr. fred at zope.com
Tue May 4 18:32:29 EDT 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv2022

Modified Files:
	app.py 
Log Message:
pass the version number write_setup_py()


=== Packages/zpkgtools/zpkgtools/app.py 1.51 => 1.52 ===
--- Packages/zpkgtools/zpkgtools/app.py:1.51	Tue May  4 18:02:39 2004
+++ Packages/zpkgtools/zpkgtools/app.py	Tue May  4 18:32:28 2004
@@ -134,10 +134,11 @@
                 component.write_setup_cfg()
                 component.write_manifest()
         if self.options.build_type == "application":
-            top.write_setup_py(filename="install.py")
+            top.write_setup_py(filename="install.py",
+                               version=self.options.version)
             self.write_application_support(top)
         else:
-            top.write_setup_py()
+            top.write_setup_py(version=self.options.version)
         top.write_setup_cfg()
         top.write_manifest()
 




More information about the Zope-CVS mailing list