mirror of https://github.com/python/cpython.git
Distutils apparently requires an absolute path so provide one.
This commit is contained in:
parent
6411aa5dd4
commit
4d491a535c
2
setup.py
2
setup.py
|
@ -117,7 +117,7 @@ def build_extensions(self):
|
||||||
if not srcdir:
|
if not srcdir:
|
||||||
# Maybe running on Windows but not using CYGWIN?
|
# Maybe running on Windows but not using CYGWIN?
|
||||||
raise ValueError("No source directory; cannot proceed.")
|
raise ValueError("No source directory; cannot proceed.")
|
||||||
srcdir = os.path.normpath(srcdir)
|
srcdir = os.path.abspath(srcdir)
|
||||||
moddirlist = [os.path.join(srcdir, 'Modules')]
|
moddirlist = [os.path.join(srcdir, 'Modules')]
|
||||||
|
|
||||||
# Platform-dependent module source and include directories
|
# Platform-dependent module source and include directories
|
||||||
|
|
Loading…
Reference in New Issue