From 35f694a68158920b040c12d5c47405ca667decea Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 12 Jun 2012 22:49:02 +0000 Subject: [PATCH] File extension on executable Python scripts is now OS-dependent --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index cbbc96d79..df7e8fc67 100644 --- a/SConstruct +++ b/SConstruct @@ -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 ###