From 8d16f125dc286ef9302bcc5d28b013d1d0046f63 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Fri, 1 Dec 2023 11:23:14 -0600 Subject: [PATCH 1/3] pyproject.toml: move OCP-stubs to optional dependencies preparing for PyPI release --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 60c7474e..beb8fa97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,6 @@ classifiers = [ dependencies = [ "cadquery-ocp ~= 7.7.1", - "OCP-stubs @ git+https://github.com/CadQuery/OCP-stubs@7.7.0", "typing_extensions >= 4.6.0, <5", "numpy >= 1.24.1, <2", "svgpathtools >= 1.5.1, <2", @@ -49,6 +48,12 @@ dependencies = [ "ocpsvg @ git+https://github.com/snoyer/ocpsvg", ] +[project.optional-dependencies] +# development dependency groups +dev = [ + "OCP-stubs @ git+https://github.com/CadQuery/OCP-stubs@7.7.0", +] + [project.urls] "Homepage" = "https://github.com/gumyr/build123d" "Documentation" = "https://build123d.readthedocs.io/en/latest/index.html" From 31e1a0dbac6c857477f98e22428de331ea72ad96 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Sat, 2 Dec 2023 10:22:23 -0600 Subject: [PATCH 2/3] Remove OCP-stubs as optional dep won't work with PyPI with OCP-stubs from github --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index beb8fa97..5d793034 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,12 +48,6 @@ dependencies = [ "ocpsvg @ git+https://github.com/snoyer/ocpsvg", ] -[project.optional-dependencies] -# development dependency groups -dev = [ - "OCP-stubs @ git+https://github.com/CadQuery/OCP-stubs@7.7.0", -] - [project.urls] "Homepage" = "https://github.com/gumyr/build123d" "Documentation" = "https://build123d.readthedocs.io/en/latest/index.html" From afd11271b8da70172b8283e1c1eee44738fc1fe6 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Mon, 4 Dec 2023 14:36:19 -0600 Subject: [PATCH 3/3] Update pyproject.toml -> PyPI for py-lib3mf and ocpsvg --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5d793034..79461fb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,8 +44,8 @@ dependencies = [ "ezdxf >= 1.0.0, < 2", "numpy-stl >= 3.0.0, <4", "ipython >= 8.0.0, <9", - "py_lib3mf @ git+https://github.com/jdegenstein/py-lib3mf", - "ocpsvg @ git+https://github.com/snoyer/ocpsvg", + "py-lib3mf", + "ocpsvg", ] [project.urls]