linux configuration file bugfix
parent
1d8d2e0304
commit
4f1c7ccbf6
|
@ -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'] = []
|
||||
|
|
|
@ -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'] = []
|
||||
|
|
Loading…
Reference in New Issue