Skip to content

Commit 73d0dfc

Browse files
committed
9.13.3a5; issue install_or_set_path error from two sites in the code
1 parent 356dde2 commit 73d0dfc

File tree

2 files changed

+8
-7
lines changed

2 files changed

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

7676
---

setup.py

Lines changed: 5 additions & 4 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.3a4'
27+
MATLAB_VER = '9.13.3a5'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.8', '3.9', '3.10'])
@@ -146,8 +146,9 @@ def _create_path_list(self):
146146
path_dirs.extend(path_string.split(os.pathsep))
147147

148148
if not path_dirs:
149-
raise RuntimeError(self.unset_env.format(path1=self.path_env_var_name,
150-
arch=self.arch, path2=self.path_env_var_name))
149+
raise RuntimeError(self.install_or_set_path.format(
150+
ver=MATLAB_REL, arch=self.arch,
151+
path=self.path_env_var_name))
151152

152153
return path_dirs
153154

@@ -393,7 +394,7 @@ def run(self):
393394
setup(
394395
name="matlabengine",
395396
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
396-
version="9.13.3a4",
397+
version="9.13.3a5",
397398
description='A module to call MATLAB from Python',
398399
author='MathWorks',
399400
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)