Skip to content

Commit 788d92d

Browse files
committed
9.15.1a6; major.minor
1 parent 0861850 commit 788d92d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

+3-3
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.15.1a5
24+
$ python -m pip install matlabengine==9.15.1a6
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.15.1a5
49+
$ python -m pip install matlabengine==9.15.1a6
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.15.1a5
73+
$ python -m pip install matlabengine==9.15.1a6
7474
```
7575

7676
---

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class _MatlabFinder(build_py):
2424
MATLAB_REL = 'R2023b'
2525

2626
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27-
MATLAB_VER = '9.15.1a5'
27+
MATLAB_VER = '9.15.1a6'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.9', '3.10'])
@@ -299,7 +299,8 @@ def verify_matlab_release(self, root):
299299
if child.tag == 'release':
300300
matlab_release = self.found_matlab_release = child.text
301301
elif child.tag == 'version':
302-
self.found_matlab_version = self._get_engine_ver_major_minor(child.text)
302+
major, minor = self._get_engine_ver_major_minor(child.text)
303+
self.found_matlab_version = f'{major}.{minor}'
303304
return matlab_release == self.MATLAB_REL
304305

305306
def search_path_for_directory_unix(self, arch, path_dirs):
@@ -414,7 +415,7 @@ def run(self):
414415
setup(
415416
name="matlabengine",
416417
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
417-
version="9.15.1a5",
418+
version="9.15.1a6",
418419
description='A module to call MATLAB from Python',
419420
author='MathWorks',
420421
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)