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

Fred L. Drake, Jr. fred at zope.com
Tue May 4 13:11:46 EDT 2004


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

Modified Files:
	app.py 
Log Message:
BuilderApplication.build_distribution():
- update docstring
- remove reference to code that proved unnecessary


=== Packages/zpkgtools/zpkgtools/app.py 1.48 => 1.49 ===
--- Packages/zpkgtools/zpkgtools/app.py:1.48	Tue May  4 10:08:37 2004
+++ Packages/zpkgtools/zpkgtools/app.py	Tue May  4 13:11:44 2004
@@ -96,11 +96,8 @@
     def build_distribution(self):
         """Create the distribution tree.
 
-        This method performs common actions for both types of
-        distribution, and then dispatches to either
-        `build_collection_distribution()` or
-        `build_package_distribution()` based on the type of the
-        primary resource.
+        This method does everything needed to knit a distribution
+        together; it should be refactored substantially.
         """
         top = Component(self.resource, self.resource_url, self.ip)
         top.write_package(self.destination)
@@ -136,8 +133,6 @@
                 component.write_setup_py()
                 component.write_setup_cfg()
                 component.write_manifest()
-        if required:
-            top.write_dependencies(required)
         if self.options.build_type == "application":
             top.write_setup_py(filename="install.py")
             self.write_application_support(top)




More information about the Zope-CVS mailing list