diff --git a/build/config-linux-gcc-debug.py b/build/config-linux-gcc-debug.py index bfa12cae..9c93d567 100644 --- a/build/config-linux-gcc-debug.py +++ b/build/config-linux-gcc-debug.py @@ -27,7 +27,7 @@ COLLADALIB = ['collada14dom'] # versions at the same time by explicitly specifying e.g. PYTHON27INCLUDE, # PYTHON27LIB, PYTHON27LIBDIR and PYTHON32INCLUDE, PYTHON32LIB, PYTHON32LIBDIR -pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip() +pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip().replace('.', '') env = locals() env['PYTHON'+pyver+'INCLUDE'] = [] diff --git a/build/config-linux-gcc.py b/build/config-linux-gcc.py index 0308f63b..2f8ce2fe 100644 --- a/build/config-linux-gcc.py +++ b/build/config-linux-gcc.py @@ -27,7 +27,7 @@ COLLADALIB = ['collada14dom'] # versions at the same time by explicitly specifying e.g. PYTHON27INCLUDE, # PYTHON27LIB, PYTHON27LIBDIR and PYTHON32INCLUDE, PYTHON32LIB, PYTHON32LIBDIR -pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip() +pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip().replace('.', '') env = locals() env['PYTHON'+pyver+'INCLUDE'] = []