make sure config directory is initialized or python complains
This commit is contained in:
@@ -19,6 +19,8 @@ def FindPython():
|
|||||||
incconf64 = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags, "pyconfig.h")
|
incconf64 = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags, "pyconfig.h")
|
||||||
if os.path.exists(incconf64):
|
if os.path.exists(incconf64):
|
||||||
incconf = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags)
|
incconf = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags)
|
||||||
|
else:
|
||||||
|
incconf = ''
|
||||||
|
|
||||||
# Determine whether python is in /usr/lib or /usr/lib64
|
# Determine whether python is in /usr/lib or /usr/lib64
|
||||||
lib32 = os.path.join(python, "lib", "python" + version, "sysconfig.py")
|
lib32 = os.path.join(python, "lib", "python" + version, "sysconfig.py")
|
||||||
|
Reference in New Issue
Block a user