[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - setup.py:1.23

Fred L. Drake, Jr. fred at zope.com
Mon Jun 7 15:39:24 EDT 2004


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

Modified Files:
	setup.py 
Log Message:
fix stupid buglet that allowed removal of extension source files from
package distro installations but not dependencies in a collection
distro

XXX needs tests, but that requires a bit of refactoring before it
makes sense


=== Packages/zpkgtools/zpkgtools/setup.py 1.22 => 1.23 ===
--- Packages/zpkgtools/zpkgtools/setup.py:1.22	Mon Jun  7 13:52:03 2004
+++ Packages/zpkgtools/zpkgtools/setup.py	Mon Jun  7 15:39:23 2004
@@ -158,7 +158,7 @@
         # for installing documentation other than for RPMs.
         #
         relbase = posixpath.join(reldir, "")
-        pkgfiles = self.package_data.get(reldir, [])
+        pkgfiles = self.package_data.get(name, [])
         non_pkgdata = pkginfo.script + pkginfo.header
         for dir, files in pkginfo.data_files:
             non_pkgdata.extend(files)




More information about the Zope-CVS mailing list