Commit fd5592d4 authored by Neil Schemenauer's avatar Neil Schemenauer

Patch from Andrew to properly set module source directory.

parent 7bc6d786
......@@ -65,8 +65,8 @@ class PyBuildExt(build_ext):
# with Modules/ and adding Python's include directory to the path.
(srcdir,) = sysconfig.get_config_vars('srcdir')
#
moddir = os.path.join(os.getcwd(), 'Modules', srcdir)
# Figure out the location of the source code for extension modules
moddir = os.path.join(os.getcwd(), srcdir, 'Modules')
moddir = os.path.normpath(moddir)
srcdir, tail = os.path.split(moddir)
srcdir = os.path.normpath(srcdir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment