OCP wheel with shared library dependencies bundled.
Project description
ocp-build-system
This repository is used to build wheels for OCP, which is CadQuery's bindings to the OpenCASCADE CAD kernel. There are two GitHub Actions available as part of this repo.
- Build (Create Python wheel using Conda)
- Releases
The Build workflow is triggered manually by a developer, and sets up conda environments for each of the wheels to be built, builds the wheels, and then uploads them as artifacts to the GitHub Action. The Releases workflow is run when a tag is created, and takes the wheels attached to the latest build and uploads them to PyPi. Each time a new version of OCP is released these Actions, along with the setup.py file, need to be modified to build and release the new version.
Building for Apple Silicon locally
Since there are no free Apple Silicon runners available for GitHub actions, a simple solution is to just run the build locally on an Apple Silicon Macbook. To that end, this repo contains a local-build.sh
script which builds for whatever architecture the local machine is running on. On an M1 Macbook Pro it should take approx 25 minutes to build for all 4 Python versions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file cadquery_ocp_arm_test-7.7.2.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cadquery_ocp_arm_test-7.7.2.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 87.7 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a9c1adbcd0a4018d5595a8a42d68f0a208ec9ac071e85ca36083c79ecc5175 |
|
MD5 | a1ba0f5207ce4ceb6974fab16bf4d2b1 |
|
BLAKE2b-256 | c4caf61664e692779e6e5509cbf0219c55cb204d29d4d70f53b4c902d30101fb |
File details
Details for the file cadquery_ocp_arm_test-7.7.2.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cadquery_ocp_arm_test-7.7.2.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 87.7 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87f6f1086a57c8aca23dd091e964c4e4660abf0281f7bb3b0b4801df9081d650 |
|
MD5 | 18aa88074885b6664efd6687615d15d9 |
|
BLAKE2b-256 | b6f28c3541ab356d9c9ef5ac9d9dfd0913256669ae677636a6f752caf53d2c6a |
File details
Details for the file cadquery_ocp_arm_test-7.7.2.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cadquery_ocp_arm_test-7.7.2.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 87.7 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a436286d45f429d0f38ebac48954d5b716acfb7f151b1f3076e83387130d4a7b |
|
MD5 | 8bc591c59a759331eb580d92354a34ea |
|
BLAKE2b-256 | 9f8eac430ac77323e45a7b3632dbc0041b691e98203bae1353ea93f24d23219f |