SVN: zpkgtools/trunk/zpkgsetup/setup.py when loading an entire package tree, record the root for distutils

"Fred L. Drake, Jr." <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Log message for revision 38135:
  when loading an entire package tree, record the root for distutils

Changed:
  U   zpkgtools/trunk/zpkgsetup/setup.py

-=-
Modified: zpkgtools/trunk/zpkgsetup/setup.py
===================================================================
--- zpkgtools/trunk/zpkgsetup/setup.py	2005-08-29 11:33:30 UTC (rev 38134)
+++ zpkgtools/trunk/zpkgsetup/setup.py	2005-08-29 13:53:57 UTC (rev 38135)
@@ -163,6 +163,7 @@
         #
         parts = root.split("/")
         local_root = os.path.join(*parts)
+        self.package_dir[""] = root
         if os.path.isfile(os.path.join(local_root, package.PACKAGE_CONF)):
             # There's a SETUP.cfg at the top level; load it:
             pkginfo = package.loadCollectionInfo(

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.