Ticket #55361: patch-python.diff
File patch-python.diff, 431 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago) |
---|
-
inst/sympref.m
old new 261 261 if (nargin ~= 1) 262 262 error('old syntax ''sympref python'' removed; use ''setenv PYTHON'' instead') 263 263 end 264 DEFAULTPYTHON = ' python';264 DEFAULTPYTHON = '__MACPORTS_PYTHON__'; 265 265 pyexec = getenv('PYTHON'); 266 266 if (isempty(pyexec)) 267 267 pyexec = DEFAULTPYTHON;