ocp-vscode 2.0.2__tar.gz → 2.0.4__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.
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/PKG-INFO +1 -1
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/README.md +10 -1
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/__init__.py +3 -1
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/PKG-INFO +1 -1
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/requires.txt +1 -1
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/setup.cfg +1 -1
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/setup.py +2 -2
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/LICENSE +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/animation.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/backend.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/colors.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/comms.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/config.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/finder.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/interactive.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/persistence.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/show.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/SOURCES.txt +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/dependency_links.txt +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/not-zip-safe +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/top_level.txt +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/test/test_for_backend.py +0 -0
- {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/test/testextension.py +0 -0
|
@@ -21,7 +21,7 @@ _OCP CAD Viewer_ for VS Code is an extension to show [CadQuery](https://github.c
|
|
|
21
21
|
|
|
22
22
|
### Installation
|
|
23
23
|
|
|
24
|
-
1. Open the VS Code Marketplace, and search and install _OCP CAD Viewer 2.0.
|
|
24
|
+
1. Open the VS Code Marketplace, and search and install _OCP CAD Viewer 2.0.4_.
|
|
25
25
|
|
|
26
26
|
Afterwards the OCP viewer is available in the VS Code sidebar:
|
|
27
27
|
|
|
@@ -171,6 +171,15 @@ You can also use "Library Manager" in the _OCP CAD Viewer_ sidebar to manage the
|
|
|
171
171
|
|
|
172
172
|
## Changes
|
|
173
173
|
|
|
174
|
+
v2.0.4
|
|
175
|
+
|
|
176
|
+
- Fix regression of ocp-tessallate version
|
|
177
|
+
|
|
178
|
+
v2.0.3
|
|
179
|
+
|
|
180
|
+
- Fix regression in port detection
|
|
181
|
+
- Added missing dependencies for build123d on Apple Silicon
|
|
182
|
+
|
|
174
183
|
v2.0.2
|
|
175
184
|
|
|
176
185
|
- Fix .ocp_vscode detection on Windows
|
|
@@ -30,14 +30,16 @@ try:
|
|
|
30
30
|
port = int(environ.get("OCP_PORT", "0"))
|
|
31
31
|
if port > 0:
|
|
32
32
|
set_port(port)
|
|
33
|
+
print(f"Using predefined port {port} taken from environment variable OCP_PORT")
|
|
33
34
|
else:
|
|
34
35
|
current_path = Path.cwd()
|
|
35
|
-
for path in current_path.parents:
|
|
36
|
+
for path in [current_path] + list(current_path.parents):
|
|
36
37
|
file_path = path / ".ocp_vscode"
|
|
37
38
|
if file_path.exists():
|
|
38
39
|
with open(file_path, "r") as f:
|
|
39
40
|
port = json.load(f)["port"]
|
|
40
41
|
set_port(port)
|
|
42
|
+
print(f"Using port {port} taken from {file_path}")
|
|
41
43
|
break
|
|
42
44
|
except:
|
|
43
45
|
pass
|
|
@@ -2,13 +2,13 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup_args = {
|
|
4
4
|
"name": "ocp_vscode",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.4",
|
|
6
6
|
"description": "OCP CAD Viewer for VSCode",
|
|
7
7
|
"long_description": "An extension to show OCP cad CAD objects (CadQuery, build123d) in VS Code via threejs",
|
|
8
8
|
"include_package_data": True,
|
|
9
9
|
"python_requires": ">=3.9",
|
|
10
10
|
"install_requires": [
|
|
11
|
-
"ocp-tessellate>=2.0.
|
|
11
|
+
"ocp-tessellate>=2.0.4,<2.1.0",
|
|
12
12
|
"requests",
|
|
13
13
|
"ipykernel",
|
|
14
14
|
"orjson",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|