Skip to content

Correct detection and use of scons#967

Open
deroulers wants to merge 1 commit intoStochSS:mainfrom
deroulers:correct_detection_and_use_of_scons
Open

Correct detection and use of scons#967
deroulers wants to merge 1 commit intoStochSS:mainfrom
deroulers:correct_detection_and_use_of_scons

Conversation

@deroulers
Copy link

@deroulers deroulers commented May 22, 2025

It seems the detection and use of scons in gillespy2/solvers/cpp/build/make.py is presently reversed between executable and Python package, resulting in an error at model.runtime even though scons is available as an executable.

Indeed, if scons_exe is not None (scons executable was found), it won't be used and the Python package SCons (which may not be installed) will tentatively be used — which should be done if scons_exe is None.

The proposed commit fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant