matlabengine 9.14.3__tar.gz → 23.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {matlabengine-9.14.3 → matlabengine-23.2.1}/PKG-INFO +12 -12
  2. {matlabengine-9.14.3 → matlabengine-23.2.1}/README.md +9 -9
  3. {matlabengine-9.14.3 → matlabengine-23.2.1}/setup.py +9 -8
  4. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/__init__.py +2 -3
  5. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/enginehelper.py +3 -4
  6. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlabengine.egg-info/PKG-INFO +12 -12
  7. {matlabengine-9.14.3 → matlabengine-23.2.1}/LICENSE.txt +0 -0
  8. {matlabengine-9.14.3 → matlabengine-23.2.1}/pyproject.toml +0 -0
  9. {matlabengine-9.14.3 → matlabengine-23.2.1}/setup.cfg +0 -0
  10. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/__init__.py +0 -0
  11. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/_arch.txt +0 -0
  12. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/basefuture.py +0 -0
  13. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/engineerror.py +0 -0
  14. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/enginesession.py +0 -0
  15. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/fevalfuture.py +0 -0
  16. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/futureresult.py +0 -0
  17. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/matlabengine.py +0 -0
  18. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlab/engine/matlabfuture.py +0 -0
  19. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlabengine.egg-info/SOURCES.txt +0 -0
  20. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlabengine.egg-info/dependency_links.txt +0 -0
  21. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlabengine.egg-info/not-zip-safe +0 -0
  22. {matlabengine-9.14.3 → matlabengine-23.2.1}/src/matlabengine.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: matlabengine
3
- Version: 9.14.3
3
+ Version: 23.2.1
4
4
  Summary: A module to call MATLAB from Python
5
5
  Home-page: https://github.com/mathworks/matlab-engine-for-python/
6
6
  Author: MathWorks
@@ -12,10 +12,10 @@ Keywords: MATLAB,MATLAB Engine for Python
12
12
  Platform: UNKNOWN
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: Programming Language :: Python :: 3.8
16
15
  Classifier: Programming Language :: Python :: 3.9
17
16
  Classifier: Programming Language :: Python :: 3.10
18
- Requires-Python: >=3.8, <3.11
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Requires-Python: >=3.9, <3.12
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE.txt
21
21
 
@@ -27,11 +27,11 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
27
27
  ## Requirements
28
28
  ### Required MathWorks Products
29
29
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
30
- * MATLAB release R2023a
30
+ * MATLAB release R2023b
31
31
 
32
32
  ### Required 3rd Party Products
33
33
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
34
- * Python 3.8, 3.9, or 3.10
34
+ * Python 3.9, 3.10, or 3.11
35
35
  * Supported Python versions by MATLAB release can be found [here](https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/python-compatibility.pdf).
36
36
 
37
37
  ---
@@ -42,7 +42,7 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
42
42
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
43
43
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
44
44
  ```bash
45
- $ python -m pip install matlabengine==9.14.3
45
+ $ python -m pip install matlabengine==23.2.1
46
46
  ```
47
47
 
48
48
 
@@ -50,9 +50,9 @@ $ python -m pip install matlabengine==9.14.3
50
50
  ### Linux&reg;
51
51
  Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, Linux installs MATLAB at:<br>
52
52
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
53
- ```/usr/local/MATLAB/R2023a```
53
+ ```/usr/local/MATLAB/R2023b```
54
54
 
55
- When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
55
+ When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable LD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
56
56
 
57
57
  ```bash
58
58
  # in .bashrc
@@ -67,16 +67,16 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<matlabroot>/bin/glnxa64
67
67
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
68
68
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
69
69
  ```bash
70
- $ python -m pip install matlabengine==9.14.3
70
+ $ python -m pip install matlabengine==23.2.1
71
71
  ```
72
72
 
73
73
  ### macOS
74
74
  Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, macOS installs MATLAB at:<br>
75
75
 
76
76
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
77
- ```/Applications/MATLAB_R2023a.app```
77
+ ```/Applications/MATLAB_R2023b.app```
78
78
 
79
- When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
79
+ When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable DYLD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
80
80
 
81
81
  ```bash
82
82
  # in .bashrc
@@ -91,7 +91,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:<matlabroot>/bin/maci64
91
91
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
92
92
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
93
93
  ```bash
94
- $ python -m pip install matlabengine==9.14.3
94
+ $ python -m pip install matlabengine==23.2.1
95
95
  ```
96
96
 
97
97
  ---
@@ -6,11 +6,11 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
6
6
  ## Requirements
7
7
  ### Required MathWorks Products
8
8
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
9
- * MATLAB release R2023a
9
+ * MATLAB release R2023b
10
10
 
11
11
  ### Required 3rd Party Products
12
12
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
13
- * Python 3.8, 3.9, or 3.10
13
+ * Python 3.9, 3.10, or 3.11
14
14
  * Supported Python versions by MATLAB release can be found [here](https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/python-compatibility.pdf).
15
15
 
16
16
  ---
@@ -21,7 +21,7 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
21
21
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
22
22
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
23
23
  ```bash
24
- $ python -m pip install matlabengine==9.14.3
24
+ $ python -m pip install matlabengine==23.2.1
25
25
  ```
26
26
 
27
27
 
@@ -29,9 +29,9 @@ $ python -m pip install matlabengine==9.14.3
29
29
  ### Linux&reg;
30
30
  Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, Linux installs MATLAB at:<br>
31
31
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
32
- ```/usr/local/MATLAB/R2023a```
32
+ ```/usr/local/MATLAB/R2023b```
33
33
 
34
- When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
34
+ When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable LD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
35
35
 
36
36
  ```bash
37
37
  # in .bashrc
@@ -46,16 +46,16 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<matlabroot>/bin/glnxa64
46
46
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
47
47
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
48
48
  ```bash
49
- $ python -m pip install matlabengine==9.14.3
49
+ $ python -m pip install matlabengine==23.2.1
50
50
  ```
51
51
 
52
52
  ### macOS
53
53
  Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, macOS installs MATLAB at:<br>
54
54
 
55
55
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
56
- ```/Applications/MATLAB_R2023a.app```
56
+ ```/Applications/MATLAB_R2023b.app```
57
57
 
58
- When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
58
+ When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable DYLD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
59
59
 
60
60
  ```bash
61
61
  # in .bashrc
@@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:<matlabroot>/bin/maci64
70
70
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
71
71
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
72
72
  ```bash
73
- $ python -m pip install matlabengine==9.14.3
73
+ $ python -m pip install matlabengine==23.2.1
74
74
  ```
75
75
 
76
76
  ---
@@ -21,13 +21,13 @@ class _MatlabFinder(build_py):
21
21
  }
22
22
 
23
23
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
24
- MATLAB_REL = 'R2023a'
24
+ MATLAB_REL = 'R2023b'
25
25
 
26
26
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27
- MATLAB_VER = '9.14.3'
27
+ MATLAB_VER = '23.2.1'
28
28
 
29
29
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
30
- SUPPORTED_PYTHON_VERSIONS = set(['3.8', '3.9', '3.10'])
30
+ SUPPORTED_PYTHON_VERSIONS = set(['3.9', '3.10', '3.11'])
31
31
 
32
32
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
33
33
  VER_TO_REL = {
@@ -36,7 +36,8 @@ class _MatlabFinder(build_py):
36
36
  "9.11": "R2021b",
37
37
  "9.12": "R2022a",
38
38
  "9.13": "R2022b",
39
- "9.14": "R2023a"
39
+ "9.14": "R2023a",
40
+ "23.2": "R2023b"
40
41
  }
41
42
 
42
43
  DEFAULT_INSTALLS = {
@@ -414,7 +415,7 @@ if __name__ == '__main__':
414
415
  setup(
415
416
  name="matlabengine",
416
417
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
417
- version="9.14.3",
418
+ version="23.2.1",
418
419
  description='A module to call MATLAB from Python',
419
420
  author='MathWorks',
420
421
  license="LICENSE.txt, located in this repository",
@@ -439,10 +440,10 @@ if __name__ == '__main__':
439
440
  "Natural Language :: English",
440
441
  "Intended Audience :: Developers",
441
442
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
442
- "Programming Language :: Python :: 3.8",
443
443
  "Programming Language :: Python :: 3.9",
444
- "Programming Language :: Python :: 3.10"
444
+ "Programming Language :: Python :: 3.10",
445
+ "Programming Language :: Python :: 3.11"
445
446
  ],
446
447
  # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
447
- python_requires=">=3.8, <3.11"
448
+ python_requires=">=3.9, <3.12"
448
449
  )
@@ -28,7 +28,7 @@ import threading
28
28
 
29
29
  # UPDATE_IF_PYTHON_VERSION_ADDED_OR_REMOVED : search for this string in codebase
30
30
  # when support for a Python version must be added or removed
31
- _supported_versions = ['2_7', '3_8', '3_9', '3_10']
31
+ _supported_versions = ['3_9', '3_10', '3_11']
32
32
  _ver = sys.version_info
33
33
  _version = '{0}_{1}'.format(_ver[0], _ver[1])
34
34
  _PYTHONVERSION = None
@@ -64,8 +64,7 @@ if firstExceptionMessage:
64
64
  os.environ[_envs[_arch]] = _bin_dir + os.pathsep + os.environ[_envs[_arch]]
65
65
  else:
66
66
  os.environ[_envs[_arch]] = _bin_dir
67
- if sys.version_info.major >= 3 and sys.version_info.minor >= 8:
68
- os.add_dll_directory(_bin_dir)
67
+ os.add_dll_directory(_bin_dir)
69
68
  pythonengine = importlib.import_module("matlabengineforpython"+_PYTHONVERSION)
70
69
  except Exception as secondE:
71
70
  str1 = 'Please reinstall MATLAB Engine for Python or contact '
@@ -11,10 +11,9 @@ def _get_async_or_background_argument(kwargs):
11
11
  background = kwargs.pop('async', False)
12
12
  if not isinstance(background, bool):
13
13
  raise TypeError(pythonengine.getMessage('AsyncMustBeBool'))
14
- if sys.version_info.major >= 3 and sys.version_info.minor >= 7:
15
- # No test should be passing "async" with Python 3.7 or higher, so throw an exception
16
- # if a test tries to do it.
17
- raise SyntaxError(pythonengine.getMessage('AsyncWillDeprecate'))
14
+ # No test should be passing "async" with Python 3.7 or higher, so throw an exception
15
+ # if a test tries to do it.
16
+ raise SyntaxError(pythonengine.getMessage('AsyncWillDeprecate'))
18
17
 
19
18
  if 'background' in kwargs:
20
19
  background = kwargs.pop('background', False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: matlabengine
3
- Version: 9.14.3
3
+ Version: 23.2.1
4
4
  Summary: A module to call MATLAB from Python
5
5
  Home-page: https://github.com/mathworks/matlab-engine-for-python/
6
6
  Author: MathWorks
@@ -12,10 +12,10 @@ Keywords: MATLAB,MATLAB Engine for Python
12
12
  Platform: UNKNOWN
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: Programming Language :: Python :: 3.8
16
15
  Classifier: Programming Language :: Python :: 3.9
17
16
  Classifier: Programming Language :: Python :: 3.10
18
- Requires-Python: >=3.8, <3.11
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Requires-Python: >=3.9, <3.12
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE.txt
21
21
 
@@ -27,11 +27,11 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
27
27
  ## Requirements
28
28
  ### Required MathWorks Products
29
29
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
30
- * MATLAB release R2023a
30
+ * MATLAB release R2023b
31
31
 
32
32
  ### Required 3rd Party Products
33
33
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
34
- * Python 3.8, 3.9, or 3.10
34
+ * Python 3.9, 3.10, or 3.11
35
35
  * Supported Python versions by MATLAB release can be found [here](https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/python-compatibility.pdf).
36
36
 
37
37
  ---
@@ -42,7 +42,7 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
42
42
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
43
43
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
44
44
  ```bash
45
- $ python -m pip install matlabengine==9.14.3
45
+ $ python -m pip install matlabengine==23.2.1
46
46
  ```
47
47
 
48
48
 
@@ -50,9 +50,9 @@ $ python -m pip install matlabengine==9.14.3
50
50
  ### Linux&reg;
51
51
  Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, Linux installs MATLAB at:<br>
52
52
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
53
- ```/usr/local/MATLAB/R2023a```
53
+ ```/usr/local/MATLAB/R2023b```
54
54
 
55
- When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
55
+ When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable LD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
56
56
 
57
57
  ```bash
58
58
  # in .bashrc
@@ -67,16 +67,16 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<matlabroot>/bin/glnxa64
67
67
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
68
68
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
69
69
  ```bash
70
- $ python -m pip install matlabengine==9.14.3
70
+ $ python -m pip install matlabengine==23.2.1
71
71
  ```
72
72
 
73
73
  ### macOS
74
74
  Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, macOS installs MATLAB at:<br>
75
75
 
76
76
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
77
- ```/Applications/MATLAB_R2023a.app```
77
+ ```/Applications/MATLAB_R2023b.app```
78
78
 
79
- When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
79
+ When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable DYLD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).
80
80
 
81
81
  ```bash
82
82
  # in .bashrc
@@ -91,7 +91,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:<matlabroot>/bin/maci64
91
91
  MATLAB Engine API for Python can be installed directly from the Python Package Index.
92
92
  <!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
93
93
  ```bash
94
- $ python -m pip install matlabengine==9.14.3
94
+ $ python -m pip install matlabengine==23.2.1
95
95
  ```
96
96
 
97
97
  ---
File without changes
File without changes