Commit 4d491a53 authored by Neil Schemenauer's avatar Neil Schemenauer

Distutils apparently requires an absolute path so provide one.

parent 6411aa5d
......@@ -117,7 +117,7 @@ class PyBuildExt(build_ext):
if not srcdir:
# Maybe running on Windows but not using CYGWIN?
raise ValueError("No source directory; cannot proceed.")
srcdir = os.path.normpath(srcdir)
srcdir = os.path.abspath(srcdir)
moddirlist = [os.path.join(srcdir, 'Modules')]
# Platform-dependent module source and include directories
......
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