Skip to content

Commit

Permalink
Fix pyproject.toml descriptions and bump version to post1
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-42 committed Jan 23, 2025
1 parent 4544a26 commit 712c9d7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-ocp-stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: workflow_dispatch

env:
OCP: 7.8.1.1
WHEEL: 7.8.1.1.post1

jobs:
stubs:
Expand Down Expand Up @@ -52,6 +53,6 @@ jobs:
- name: Upload cadquery_ocp stubs wheel
uses: actions/upload-artifact@v4
with:
name: cadquery-ocp-${{ env.OCP }}-stubs-cp${{ matrix.python-version }}
name: cadquery-ocp-${{ env.WHEEL }}-stubs-cp${{ matrix.python-version }}
path: pypi-stubs/dist/*.whl

2 changes: 1 addition & 1 deletion .github/workflows/build-ocp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: workflow_dispatch

env:
OCP: 7.8.1.1
WHEEL: 7.8.1.1
WHEEL: 7.8.1.1.post1
VTK: 9.3.1
VTK_MAJOR: 9.3
OCCT: 7.8.1
Expand Down
2 changes: 1 addition & 1 deletion pypi-stubs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cadquery-ocp-stubs

Typing stubs for [cadquery-ocp](https://pypi.org/project/cadquery-ocp/) automaticaly generated using [pybind11-stubgen](https://github.com/CadQuery/pybind11-stubgen).
Typing stubs for cadquery-ocp based on the official CadQuery/OCP sources.

## Notes

Expand Down
8 changes: 4 additions & 4 deletions pypi-stubs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "cadquery-ocp-stubs"
version = "7.8.1.1"
description = "Typing stubs for cadquery-ocp automaticaly generated using pybind11-stubgen."
authors = [{ name = "Bernhard Walter", email = "[email protected]" }]
requires-python = ">=3.10"
version = "7.8.1.1.post1"
description = "Typing stubs for cadquery-ocp based on the official CadQuery/OCP sources"
authors = [{ name = "Bernhard Walter" }]
requires-python = ">=3.10,<3.14"
readme = "README.md"

[tool.setuptools]
Expand Down
4 changes: 2 additions & 2 deletions pypi/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# cadquery-ocp (also known as OCP)

Python wrapper for OCCT generated using pywrap. Typing stubs available [here](https://github.com/CadQuery/OCP-stubs).
Python wrapper for OCCT generated using pywrap. Typing [stubs](https://pypi.org/project/cadquery-ocp-stubs/) available from pypi.

## Goals
## Goals of OCP
* Provide thin bindings to OCCT.
* Wrap all OCCT modules (if practical).
* React quickly to new OCCT releases.
Expand Down
8 changes: 4 additions & 4 deletions pypi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "cadquery-ocp"
version = "7.8.1.1"
description = "Python wrapper for OCCT generated using pywrap."
authors = [{ name = "Bernhard Walter", email = "[email protected]" }]
requires-python = ">=3.10"
version = "7.8.1.1.post1"
description = "Python wrapper for Open CASCADE Technology 3D geometry library based on the official CadQuery/OCP sources"
authors = [{ name = "Bernhard Walter" }]
requires-python = ">=3.10,<3.14"
readme = "README.md"

[tool.setuptools]
Expand Down

0 comments on commit 712c9d7

Please sign in to comment.