Skip to content

Commit 88e0589

Browse files
author
neil.schemenauer
committed
Distutils apparently requires an absolute path so provide one.
git-svn-id: http://svn.python.org/projects/python/trunk@69322 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 5985ddc commit 88e0589

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def build_extensions(self):
118118
if not srcdir:
119119
# Maybe running on Windows but not using CYGWIN?
120120
raise ValueError("No source directory; cannot proceed.")
121-
srcdir = os.path.normpath(srcdir)
121+
srcdir = os.path.abspath(srcdir)
122122
moddirlist = [os.path.join(srcdir, 'Modules')]
123123

124124
# Platform-dependent module source and include directories

0 commit comments

Comments
 (0)