@@ -24,7 +24,7 @@ class _MatlabFinder(build_py):
24
24
MATLAB_REL = 'R2022b'
25
25
26
26
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27
- MATLAB_VER = '9.13.3a9 '
27
+ MATLAB_VER = '9.13.3a10 '
28
28
29
29
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
30
30
SUPPORTED_PYTHON_VERSIONS = set (['3.8' , '3.9' , '3.10' ])
@@ -135,7 +135,7 @@ def unix_default_install_exists(self):
135
135
# issue an error message that says that there is a Mac installation in the default
136
136
# location that has the wrong arch. The user can choose whether to change the
137
137
# Python interpreter or the MATLAB installation so that the arch will match.
138
- found_matlab_with_wrong_arch_in_default_install = path
138
+ self . found_matlab_with_wrong_arch_in_default_install = path
139
139
return False
140
140
141
141
return True
@@ -177,7 +177,8 @@ def _arch_in_mac_dir_is_correct(self, dir):
177
177
possible_arch = dir [- 1 * (ARCH_LEN + 1 ) : - 1 ]
178
178
else :
179
179
possible_arch = dir [- 1 * ARCH_LEN ]
180
-
180
+
181
+ self ._print_if_verbose (f'possible_arch: { possible_arch } ; self.arch: { self .arch } ' )
181
182
if possible_arch == self .arch :
182
183
return True
183
184
else :
@@ -193,7 +194,8 @@ def _get_matlab_root_from_unix_bin(self, dir):
193
194
matlab_root = ''
194
195
if os .path .isfile (matlab_path ) and self .verify_matlab_release (possible_root ):
195
196
if self .platform == 'Darwin' and not self ._arch_in_mac_dir_is_correct (dir ):
196
- found_matlab_with_wrong_arch_in_path = possible_root
197
+ self .found_matlab_with_wrong_arch_in_path = possible_root
198
+ self ._print_if_verbose (f'self.found_matlab_with_wrong_arch_in_path: { self .found_matlab_with_wrong_arch_in_path } ' )
197
199
else :
198
200
matlab_root = possible_root
199
201
self ._print_if_verbose (f'_get_matlab_root_from_unix_bin returned: { matlab_root } ' )
@@ -406,7 +408,7 @@ def run(self):
406
408
setup (
407
409
name = "matlabengine" ,
408
410
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
409
- version = "9.13.3a9 " ,
411
+ version = "9.13.3a10 " ,
410
412
description = 'A module to call MATLAB from Python' ,
411
413
author = 'MathWorks' ,
412
414
license = "MathWorks XSLA License" ,
0 commit comments