Skip to content

Commit

Permalink
[SCons] Fix converter scripts for python_package = 'none'
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and bryanwweber committed Aug 10, 2022
1 parent cf24d5b commit 25c5174
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SConstruct
Expand Up @@ -2185,10 +2185,11 @@ if any(target.startswith('test') for target in COMMAND_LINE_TARGETS):

if env['python_package'] == 'none':
# copy scripts from the full Cython module
# (skipping 'yaml2ck', which depends on the full Python module)
test_py_int = env.Command('#build/python_local/cantera/__init__.py',
'#interfaces/python_minimal/cantera/__init__.py',
Copy('$TARGET', '$SOURCE'))
for script in ["ck2yaml", "ctml2yaml", "yaml2ck"]:
for script in ["ck2yaml", "ctml2yaml", "cti2yaml"]:
s = env.Command('#build/python_local/cantera/{}.py'.format(script),
'#interfaces/cython/cantera/{}.py'.format(script),
Copy('$TARGET', '$SOURCE'))
Expand Down

0 comments on commit 25c5174

Please sign in to comment.