Skip to content

Commit 0eabc57

Browse files
committed
9.15.1a4; verbose
1 parent 95f9e96 commit 0eabc57

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-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.15.1a3
24+
$ python -m pip install matlabengine==9.15.1a4
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.1a3
49+
$ python -m pip install matlabengine==9.15.1a4
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.1a3
73+
$ python -m pip install matlabengine==9.15.1a4
7474
```
7575

7676
---

setup.py

Lines changed: 5 additions & 3 deletions
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.1a3'
27+
MATLAB_VER = '9.15.1a4'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.9', '3.10'])
@@ -53,7 +53,7 @@ class _MatlabFinder(build_py):
5353
found_matlab_version = ''
5454
found_matlab_with_wrong_arch_in_default_install = ''
5555
found_matlab_with_wrong_arch_in_path = ''
56-
verbose = False
56+
verbose = True
5757

5858
# ERROR MESSAGES
5959
minimum_maximum = "No compatible version of MATLAB was found. " + \
@@ -331,12 +331,14 @@ def search_path_for_directory_unix(self, arch, path_dirs):
331331
def _err_msg_if_bad_matlab_root(self, matlab_root):
332332
if not matlab_root:
333333
if self.found_matlab_version:
334+
_print_if_verbose(f'self.found_matlab_version: {self.found_matlab_version}; self.VER_TO_REL: {self.VER_TO_REL}')
334335
if self.found_matlab_version in self.VER_TO_REL:
335336
return self.incompatible_ver.format(ver=self.found_matlab_version, rel=self.found_matlab_release)
336337
# Found a MATLAB release but it is older than the oldest version supported,
337338
# or newer than the newest version supported.
338339
else:
339340
v_to_r_keys = list(self.VER_TO_REL.keys())
341+
_print_if_verbose(f'v_to_r_keys: {v_to_r_keys}')
340342
min_v = v_to_r_keys[0]
341343
min_r = self.VER_TO_REL[min_v]
342344
max_v = v_to_r_keys[-1]
@@ -412,7 +414,7 @@ def run(self):
412414
setup(
413415
name="matlabengine",
414416
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
415-
version="9.15.1a3",
417+
version="9.15.1a4",
416418
description='A module to call MATLAB from Python',
417419
author='MathWorks',
418420
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)