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.
Files changed (23) hide show
  1. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/PKG-INFO +1 -1
  2. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/README.md +10 -1
  3. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/__init__.py +3 -1
  4. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/PKG-INFO +1 -1
  5. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/requires.txt +1 -1
  6. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/setup.cfg +1 -1
  7. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/setup.py +2 -2
  8. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/LICENSE +0 -0
  9. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/animation.py +0 -0
  10. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/backend.py +0 -0
  11. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/colors.py +0 -0
  12. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/comms.py +0 -0
  13. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/config.py +0 -0
  14. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/finder.py +0 -0
  15. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/interactive.py +0 -0
  16. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/persistence.py +0 -0
  17. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode/show.py +0 -0
  18. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/SOURCES.txt +0 -0
  19. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/dependency_links.txt +0 -0
  20. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/not-zip-safe +0 -0
  21. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/ocp_vscode.egg-info/top_level.txt +0 -0
  22. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/test/test_for_backend.py +0 -0
  23. {ocp_vscode-2.0.2 → ocp_vscode-2.0.4}/test/testextension.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ocp_vscode
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: OCP CAD Viewer for VSCode
5
5
  Home-page: https://github.com/bernhard-42/vscode-ocp-cad-viewer
6
6
  Author: Bernhard Walter
@@ -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.2_.
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ocp-vscode
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: OCP CAD Viewer for VSCode
5
5
  Home-page: https://github.com/bernhard-42/vscode-ocp-cad-viewer
6
6
  Author: Bernhard Walter
@@ -1,4 +1,4 @@
1
- ocp-tessellate<2.1.0,>=2.0.2
1
+ ocp-tessellate<2.1.0,>=2.0.4
2
2
  requests
3
3
  ipykernel
4
4
  orjson
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 2.0.2
2
+ current_version = 2.0.4
3
3
  commit = False
4
4
  tag = False
5
5
  parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<release>\D*)(?P<build>\d*)
@@ -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.2",
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.2,<2.1.0",
11
+ "ocp-tessellate>=2.0.4,<2.1.0",
12
12
  "requests",
13
13
  "ipykernel",
14
14
  "orjson",
File without changes