diff --git a/setup.py b/setup.py index 76b0af069f1..13d0687f67e 100644 --- a/setup.py +++ b/setup.py @@ -118,7 +118,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