Revert a single line of my large change earlier today; this broke the ability
to build in a subdirectory. The additional directory is unfortunately redundant when *not* building in a subdirectory, which is why I took it out.
This commit is contained in:
parent
fc53c13dd5
commit
e3d6e41d81
1
setup.py
1
setup.py
|
@ -76,6 +76,7 @@ class PyBuildExt(build_ext):
|
||||||
ext.sources = [ os.path.join(moddir, filename)
|
ext.sources = [ os.path.join(moddir, filename)
|
||||||
for filename in ext.sources ]
|
for filename in ext.sources ]
|
||||||
ext.include_dirs.append( '.' ) # to get config.h
|
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,
|
# Try importing a module; if it's already been built statically,
|
||||||
# don't build it here
|
# don't build it here
|
||||||
|
|
Loading…
Reference in New Issue