summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2009-02-06 00:21:55 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2009-02-06 00:21:55 (GMT)
commit0189ddc1139c4ef5e2f7f8c22c4f0196c6884300 (patch)
treebb3314ffc8c2d6a4f514e87ce10b94fec17f175f /setup.py
parent0d4fd3493eb95a49ac0dee5c8607b1426432ab83 (diff)
downloadcpython-0189ddc1139c4ef5e2f7f8c22c4f0196c6884300.zip
cpython-0189ddc1139c4ef5e2f7f8c22c4f0196c6884300.tar.gz
cpython-0189ddc1139c4ef5e2f7f8c22c4f0196c6884300.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 76b0af0..13d0687 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