Skip to content

Commit edc604e

Browse files
committed
version 9.13.3a10; added missing self
1 parent 8a2d9a0 commit edc604e

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA
2121
MATLAB Engine API for Python can be installed directly from the Python Package Index.
2222
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
2323
```bash
24-
$ python -m pip install matlabengine==9.13.3a9
24+
$ python -m pip install matlabengine==9.13.3a10
2525
```
2626

2727

@@ -46,7 +46,7 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<matlabroot>/bin/glnxa64
4646
MATLAB Engine API for Python can be installed directly from the Python Package Index.
4747
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
4848
```bash
49-
$ python -m pip install matlabengine==9.13.3a9
49+
$ python -m pip install matlabengine==9.13.3a10
5050
```
5151

5252
### macOS
@@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:<matlabroot>/bin/maci64
7070
MATLAB Engine API for Python can be installed directly from the Python Package Index.
7171
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
7272
```bash
73-
$ python -m pip install matlabengine==9.13.3a9
73+
$ python -m pip install matlabengine==9.13.3a10
7474
```
7575

7676
---

setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class _MatlabFinder(build_py):
2424
MATLAB_REL = 'R2022b'
2525

2626
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27-
MATLAB_VER = '9.13.3a9'
27+
MATLAB_VER = '9.13.3a10'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.8', '3.9', '3.10'])
@@ -135,7 +135,7 @@ def unix_default_install_exists(self):
135135
# issue an error message that says that there is a Mac installation in the default
136136
# location that has the wrong arch. The user can choose whether to change the
137137
# 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
139139
return False
140140

141141
return True
@@ -177,7 +177,8 @@ def _arch_in_mac_dir_is_correct(self, dir):
177177
possible_arch = dir[-1 * (ARCH_LEN+1) : -1]
178178
else:
179179
possible_arch = dir[-1 * ARCH_LEN]
180-
180+
181+
self._print_if_verbose(f'possible_arch: {possible_arch}; self.arch: {self.arch}')
181182
if possible_arch == self.arch:
182183
return True
183184
else:
@@ -193,7 +194,8 @@ def _get_matlab_root_from_unix_bin(self, dir):
193194
matlab_root = ''
194195
if os.path.isfile(matlab_path) and self.verify_matlab_release(possible_root):
195196
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}')
197199
else:
198200
matlab_root = possible_root
199201
self._print_if_verbose(f'_get_matlab_root_from_unix_bin returned: {matlab_root}')
@@ -406,7 +408,7 @@ def run(self):
406408
setup(
407409
name="matlabengine",
408410
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
409-
version="9.13.3a9",
411+
version="9.13.3a10",
410412
description='A module to call MATLAB from Python',
411413
author='MathWorks',
412414
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)