[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - package.py:1.16
Fred L. Drake, Jr.
fred at zope.com
Wed May 12 16:19:20 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv22434
Modified Files:
package.py
Log Message:
always add the directory containing the extension to the include path,
to ensure that files headers in the same directory can be included
(we need to avoid specifying paths in #include directives that aren't
relative to the source file)
=== Packages/zpkgtools/zpkgtools/package.py 1.15 => 1.16 ===
--- Packages/zpkgtools/zpkgtools/package.py:1.15 Tue May 11 16:09:44 2004
+++ Packages/zpkgtools/zpkgtools/package.py Wed May 12 16:19:19 2004
@@ -180,6 +180,8 @@
for fn in section.depends_on]
if section.language:
kwargs["language"] = section.language[0]
+ if reldir and reldir != ".":
+ kwargs["include_dirs"] = [reldir]
return Extension(**kwargs)
More information about the Zope-CVS
mailing list