make sure config directory is initialized or python complains

This commit is contained in:
Antony Riakiotakis
2013-01-22 18:13:22 +00:00
parent 9e30e7cdaf
commit a099bd8bb0

View File

@@ -19,6 +19,8 @@ def FindPython():
incconf64 = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags, "pyconfig.h")
if os.path.exists(incconf64):
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
lib32 = os.path.join(python, "lib", "python" + version, "sysconfig.py")