We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fbf1c7 commit 313c708Copy full SHA for 313c708
setup.py
@@ -40,8 +40,8 @@ class _MatlabFinder(build_py):
40
}
41
42
DEFAULT_INSTALLS = {
43
- 'Darwin': f"/Applications/MATLAB_{MATLAB_REL}.app",
44
- 'Linux': f"/usr/local/MATLAB/{MATLAB_REL}"
+ 'Darwin': f"{os.environ('MATLAB_HOME', '/Applications')}/MATLAB_{MATLAB_REL}.app",
+ 'Linux': f"{os.environ('MATLAB_HOME', '/usr/local')}/MATLAB/{MATLAB_REL}"
45
46
47
arch = ''
0 commit comments