[SCons] Fix installation location for Debian Python packages
This commit is contained in:
parent
6546c08f29
commit
4b974219b5
2 changed files with 3 additions and 2 deletions
|
|
@ -1355,8 +1355,8 @@ if env['layout'] == 'debian':
|
|||
env['libdirname'], 'cantera', 'matlab', 'toolbox')
|
||||
|
||||
env['inst_python_bindir'] = pjoin(base, 'cantera-python', 'usr', 'bin')
|
||||
env['python_prefix'] = pjoin(base, 'cantera-python', 'usr')
|
||||
env['python3_prefix'] = pjoin(base, 'cantera-python3', 'usr')
|
||||
env['python_prefix'] = pjoin(base, 'cantera-python')
|
||||
env['python3_prefix'] = pjoin(base, 'cantera-python3')
|
||||
else:
|
||||
env['inst_libdir'] = pjoin(instRoot, env['libdirname'])
|
||||
env['inst_bindir'] = pjoin(instRoot, 'bin')
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ def install_module(prefix, python_version):
|
|||
env['install_python2_action'] = mod_inst
|
||||
|
||||
elif localenv['PYTHON_INSTALLER'] == 'debian':
|
||||
extra = localenv.subst(' --root=${python%s_prefix}' % ver)
|
||||
install(localenv.Command, dummy, mod,
|
||||
build_cmd + ' install --install-layout=deb --no-compile %s' % extra)
|
||||
env['python%s_module_loc' % ver] = '<unspecified>'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue