Skip to content

Commit dc2e140

Browse files
committed
fixed format command (no tuple); changed version number to 9.12.14
1 parent 62d521c commit dc2e140

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
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.12.13
24+
$ python -m pip install matlabengine==9.12.14
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.12.13
49+
$ python -m pip install matlabengine==9.12.14
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.12.13
73+
$ python -m pip install matlabengine==9.12.14
7474
```
7575

7676
---

setup.py

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

2626
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27-
MATLAB_VER = '9.12.13'
27+
MATLAB_VER = '9.12.14'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.8', '3.9'])
@@ -184,7 +184,8 @@ def _find_matlab_key_from_windows_registry(self, key):
184184
if found_vers:
185185
vers = ', '.join(found_vers)
186186
eng_ver_major_minor = self._get_engine_ver_major_minor()
187-
raise RuntimeError(f"{self.no_compatible_matlab.format(ver=eng_ver_major_minor)} {vers}. {self.install_compatible}{found_vers[-1]}.")
187+
eng_ver_major_minor_as_str = '{}.{}'.format(eng_ver_major_minor[0], eng_ver_major_minor[1])
188+
raise RuntimeError(f"{self.no_compatible_matlab.format(ver=eng_ver_major_minor_as_str)} {vers}. {self.install_compatible}{found_vers[-1]}.")
188189
else:
189190
raise RuntimeError(f"{self.no_matlab}")
190191

@@ -305,7 +306,7 @@ def run(self):
305306
setup(
306307
name="matlabengine",
307308
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
308-
version="9.12.13",
309+
version="9.12.14",
309310
description='A module to call MATLAB from Python',
310311
author='MathWorks',
311312
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)