[Zope-CVS] SVN: zpkgtools/trunk/zpkgsetup/ revert unintentional
commit of incomplete feature
Fred L. Drake, Jr.
fdrake at gmail.com
Fri Aug 5 16:41:05 EDT 2005
Log message for revision 37748:
revert unintentional commit of incomplete feature
Changed:
U zpkgtools/trunk/zpkgsetup/package.py
U zpkgtools/trunk/zpkgsetup/setup.py
-=-
Modified: zpkgtools/trunk/zpkgsetup/package.py
===================================================================
--- zpkgtools/trunk/zpkgsetup/package.py 2005-08-05 20:40:54 UTC (rev 37747)
+++ zpkgtools/trunk/zpkgsetup/package.py 2005-08-05 20:41:05 UTC (rev 37748)
@@ -75,17 +75,6 @@
PACKAGE_CONF = "SETUP.cfg"
-class Header(object):
- """Information about a header file and the package that provides it."""
-
- def __init__(self, package, path):
- self.package = package
- self.path = path
-
- def __repr__(self):
- return "<Header(%r, %r)>" % (self.package, self.path)
-
-
def loadPackageInfo(pkgname, directory, reldir):
"""Load package information for a Python package.
@@ -104,8 +93,6 @@
pkginfo = read_package_info(directory, reldir)
pkginfo.extensions = [create_extension(ext, pkgname, reldir)
for ext in pkginfo.extension]
- pkginfo.package_headers = [Header(pkgname, path)
- for path in pkginfo.header]
return pkginfo
Modified: zpkgtools/trunk/zpkgsetup/setup.py
===================================================================
--- zpkgtools/trunk/zpkgsetup/setup.py 2005-08-05 20:40:54 UTC (rev 37747)
+++ zpkgtools/trunk/zpkgsetup/setup.py 2005-08-05 20:41:05 UTC (rev 37748)
@@ -66,7 +66,6 @@
self.packages = []
self.package_data = {}
self.package_dir = {}
- self.package_headers = []
self.ext_modules = []
self.scripts = []
self.platforms = None
@@ -224,7 +223,6 @@
self.add_package_file(pkgname, posixpath.join(reldir, fn))
def scan_basic(self, pkginfo):
- self.package_headers.extend(pkginfo.package_headers)
self.scripts.extend(pkginfo.script)
if pkginfo.data_files:
if self.data_files:
More information about the Zope-CVS
mailing list