From 0189ddc1139c4ef5e2f7f8c22c4f0196c6884300 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Fri, 6 Feb 2009 00:21:55 +0000 Subject: [PATCH] Distutils apparently requires an absolute path so provide one. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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