File extension on executable Python scripts is now OS-dependent
This commit is contained in:
parent
103a1d0e4e
commit
35f694a681
1 changed files with 3 additions and 2 deletions
|
|
@ -1044,11 +1044,12 @@ if addInstallActions:
|
|||
install('$inst_datadir', mglob(env, pjoin('data','inputs'), 'cti', 'xml'))
|
||||
|
||||
# Converter scripts
|
||||
pyExt = '.py' if env['OS'] == 'Windows' else ''
|
||||
install(env.InstallAs,
|
||||
pjoin('$inst_bindir','ck2cti2'),
|
||||
pjoin('$inst_bindir','ck2cti2%s' % pyExt),
|
||||
'interfaces/python/ck2cti.py')
|
||||
install(env.InstallAs,
|
||||
pjoin('$inst_bindir','ctml_writer'),
|
||||
pjoin('$inst_bindir','ctml_writer%s' % pyExt),
|
||||
'interfaces/python/ctml_writer.py')
|
||||
|
||||
### List of libraries needed to link to Cantera ###
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue