From 65f83e51ffd66b80c43c886a3501eb4e3f407a03 Mon Sep 17 00:00:00 2001 From: Prabhakar Kumar Date: Mon, 7 Nov 2022 07:14:05 +0000 Subject: [PATCH] Update to v0.5.3 * Remove OS from DDUX * Remove invalid startup flags --- matlab_proxy/__init__.py | 4 +--- matlab_proxy/settings.py | 1 - setup.py | 2 +- tests/test_ddux.py | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/matlab_proxy/__init__.py b/matlab_proxy/__init__.py index 4a967542..914f9c51 100644 --- a/matlab_proxy/__init__.py +++ b/matlab_proxy/__init__.py @@ -35,9 +35,7 @@ def __get_matlab_proxy_base_ddux_value(): Returns: str : DDUX value for MATLAB use. """ - current_os = system.get_os().upper() - - return f"MATLAB_PROXY:BASE:{current_os}:V1" + return f"MATLAB_PROXY:BASE:V1" def get_mwi_ddux_value(extension_name): diff --git a/matlab_proxy/settings.py b/matlab_proxy/settings.py index 0f2db45f..586fc9f1 100644 --- a/matlab_proxy/settings.py +++ b/matlab_proxy/settings.py @@ -152,7 +152,6 @@ def get(config_name=matlab_proxy.get_default_config_name(), dev=False): "matlab_version": get_matlab_version(matlab_path), "matlab_cmd": [ "matlab", - "-webui", "-nosplash", "-nodesktop", "-softwareopengl", diff --git a/setup.py b/setup.py index 6b3dcd57..6699a054 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ def run(self): setuptools.setup( name="matlab-proxy", - version="0.5.2", + version="0.5.3", url=config["doc_url"], author="The MathWorks, Inc.", author_email="cloud@mathworks.com", diff --git a/tests/test_ddux.py b/tests/test_ddux.py index 7e921c40..473d04f5 100644 --- a/tests/test_ddux.py +++ b/tests/test_ddux.py @@ -12,7 +12,7 @@ def test_get_mwi_ddux_value(): assert expected_result == actual_result - expected_result = f"MATLAB_PROXY:HELLO_WORLD:{util.system.get_os().upper()}:V1" + expected_result = f"MATLAB_PROXY:HELLO_WORLD:V1" actual_result = matlab_proxy.get_mwi_ddux_value("hello world") assert expected_result == actual_result