Skip to content

Commit

Permalink
Merge pull request #18 from snoyer/pypi
Browse files Browse the repository at this point in the history
make `pyproject.toml` compatible with Pypi
  • Loading branch information
snoyer authored Dec 4, 2023
2 parents 8225bac + 9e3b90c commit 6a7a281
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

[project]
name = "ocpsvg"
readme = "readme.md"
version = "0.1.0"
readme = "readme-pypi.md"
version = "0.1.1"
requires-python = ">=3.9"
dependencies = [
"cadquery-ocp >= 7.7.0",
Expand All @@ -13,7 +13,6 @@ dependencies = [

[project.optional-dependencies]
dev = [
"OCP-stubs @ git+https://github.com/CadQuery/OCP-stubs@7.7.0",
"pytest",
]

Expand Down
6 changes: 6 additions & 0 deletions readme-pypi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# OCPSVG

- works at the [`OCP`](https://github.com/CadQuery/OCP) level
- uses [`svgpathtools`](https://github.com/mathandy/svgpathtools) to convert SVG path strings to and from `TopoDS_Edge`, `TopoDS_Wire`, and `TopoDS_Face` objects
- uses [`svgelements`](https://github.com/meerk40t/svgelements) to import `TopoDS_Wire` and `TopoDS_Face` objects from an SVG document
- can be used to add SVG functionality (import and export) to higher level API

0 comments on commit 6a7a281

Please sign in to comment.