mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Distutils apparently requires an absolute path so provide one.
This commit is contained in:
parent
0d4fd3493e
commit
0189ddc113
1 changed files with 1 additions and 1 deletions
2
setup.py
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue