From 4d491a535ccab3caef1dba0d079c398b551c045c Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Fri, 6 Feb 2009 00:27:50 +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 ff37bc4c9e..4599927a58 100644 --- a/setup.py +++ b/setup.py @@ -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 -- 2.40.0