Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

cadquery_ocp_arm-7.7.2.1-cp311-cp311-macosx_11_0_arm64.whl (87.7 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

cadquery_ocp_arm-7.7.2.1-cp310-cp310-macosx_11_0_arm64.whl (87.7 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

cadquery_ocp_arm-7.7.2.1-cp39-cp39-macosx_11_0_arm64.whl (87.7 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

File details

Details for the file cadquery_ocp_arm-7.7.2.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cadquery_ocp_arm-7.7.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89705664f9e4268178671acb7e104db353b277ed35e549e1566a1383c3858cb3
MD5 c91d2c280bdad06ba4f24ba43b60d3c9
BLAKE2b-256 c271213fb3b519f076d1da6c7618e9c61a3ea50deeddb86e09399088384c963a

See more details on using hashes here.

File details

Details for the file cadquery_ocp_arm-7.7.2.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cadquery_ocp_arm-7.7.2.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f5916fc16286bcd667f2fc2d412db1d5a3fa2a04400117903805ac0f29cfbf8
MD5 0fabd035da5c46a57001a0de9d26e192
BLAKE2b-256 9b58823b2b507487e82a6f5d8e442207ad26b7ccd338079c068d513f704fdf89

See more details on using hashes here.

File details

Details for the file cadquery_ocp_arm-7.7.2.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cadquery_ocp_arm-7.7.2.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 afb9ccf4b2cc15cf5733ad3cd51bb5da4f430fac0382c528b6ac0e58b974e0ec
MD5 16d2d57adfa5c9997ab9224b3af62b78
BLAKE2b-256 7578e400d3b564efba00216f79ee7041e55515fc312d5df7a87ce24e2d5fb490

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page