summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2009-02-06 00:27:50 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2009-02-06 00:27:50 (GMT)
commit4d491a535ccab3caef1dba0d079c398b551c045c (patch)
tree596d7e3e704bd6a3fdd62500ba847715e375146a /setup.py
parent6411aa5dd429acf4cd8f41c8e798d3df364d469a (diff)
downloadcpython-4d491a535ccab3caef1dba0d079c398b551c045c.zip
cpython-4d491a535ccab3caef1dba0d079c398b551c045c.tar.gz
cpython-4d491a535ccab3caef1dba0d079c398b551c045c.tar.bz2
Distutils apparently requires an absolute path so provide one.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ff37bc4..4599927 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