2022.12.17
December 2022 release of OpenCAMLib.
!! BREAKING CHANGE !!
The way to import the Python module changed! Change your imports from:
# old
import ocl
to
# new
from opencamlib import ocl
Alternatively, to support old and new versions of OpenCAMLib:
try:
from opencamlib import ocl
except ImportError:
try:
import ocl
except ImportError:
pass
pass
We had to change this because we publish pre-compiled Python wheels now, and the ocl name was already taken.
The most notable changes are:
- We now provide pre-compiled Python wheels and native Node.js modules for the most common platforms.
- We added a OpenCAMLibConfig.cmake file, making it easier to find and link to OpenCAMLib when your project uses CMake.
- Dropped Python 2 support.
- Added pyproject.toml / setup.py scripts, and
scikit-build-core, to allow a more simplepip install .when compiling from source.