Skip to content

Commit 557161d

Browse files
author
Dorian Birraux
committed
Merge pull request #194 in LCL/wolframclientforpython from bugfix/374079-heuristic-detect-wengine to master
* commit '4befe22912ebd43252cee6f8b7faa45a878efee3': Fix single quotes from conflict merge Add path to Wolfram Engine for Windows and Linux Update path.py
2 parents ac570ce + 4befe22 commit 557161d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • wolframclient/evaluation/kernel

wolframclient/evaluation/kernel/path.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,22 @@ def installation_directories():
3434
for p in explore_paths(
3535
"C:\\Program Files\\Wolfram Research\\Wolfram Desktop",
3636
"C:\\Program Files\\Wolfram Research\\Mathematica",
37+
"C:\\Program Files\\Wolfram Research\\Wolfram Engine",
3738
):
3839
yield p
3940

4041
elif six.LINUX:
41-
for p in explore_paths("/usr/local/Wolfram/Desktop" "/usr/local/Wolfram/Mathematica"):
42+
for p in explore_paths(
43+
"/usr/local/Wolfram/Desktop",
44+
"/usr/local/Wolfram/Mathematica",
45+
"/usr/local/Wolfram/WolframEngine",
46+
):
4247
yield p
4348

4449
elif six.MACOS:
4550
yield "/Applications/Wolfram Desktop.app/Contents"
4651
yield "/Applications/Mathematica.app/Contents"
52+
yield "/Applications/Wolfram Engine.app/Contents"
4753

4854

4955
def exe_path():

0 commit comments

Comments
 (0)