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  
    261261      if (nargin ~= 1)
    262262        error('old syntax ''sympref python'' removed; use ''setenv PYTHON'' instead')
    263263      end
    264       DEFAULTPYTHON = 'python';
     264      DEFAULTPYTHON = '__MACPORTS_PYTHON__';
    265265      pyexec = getenv('PYTHON');
    266266      if (isempty(pyexec))
    267267        pyexec = DEFAULTPYTHON;