]> granicus.if.org Git - python/commitdiff
Revert a single line of my large change earlier today; this broke the ability
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 19 Jan 2001 02:50:34 +0000 (02:50 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 19 Jan 2001 02:50:34 +0000 (02:50 +0000)
    to build in a subdirectory.  The additional directory is unfortunately
    redundant when *not* building in a subdirectory, which is why I took
    it out.

setup.py

index 6d4b2bc172ff7e2930cd5a7f33e63b679a4fb96a..919bc64cca5d2ffb07c4b6ac9e2d2cb5bd0b0648 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -76,6 +76,7 @@ class PyBuildExt(build_ext):
             ext.sources = [ os.path.join(moddir, filename)
                             for filename in ext.sources ]
             ext.include_dirs.append( '.' ) # to get config.h
+            ext.include_dirs.append( os.path.join(srcdir, './Include') )
 
             # Try importing a module; if it's already been built statically,
             # don't build it here