Releases: tttapa/py-build-cmake
Releases · tttapa/py-build-cmake
0.4.2
- Improved documentation: https://tttapa.github.io/py-build-cmake/
- Perform environment variable substitution before generating build hooks
- Fix verbose output on Python 3.7
Full Changelog: 0.4.1...0.4.2
0.4.1
0.4.0
MACOSX_DEPLOYMENT_TARGET
support:
Its value is now used to determine the Wheel platform tag on macOS, and the target version is passed on to CMake.- Improved documentation.
Full Changelog: 0.3.4...0.4.0
0.4.0a0
- Improved
MACOSX_DEPLOYMENT_TARGET
support. - Merged all host platform information into a single dataclass that is used throughout the build, rather than directly querying global information that could depend on environment variables etc.
Full Changelog: 0.3.4...0.4.0a0
0.3.4
- Added more
PY_BUILD_CMAKE_*
variables. - Renamed
PY_BUILD_CMAKE_MODULE_NAME
→PY_BUILD_CMAKE_IMPORT_NAME
,PY_BUILD_CMAKE_PACKAGE_NAME
→PY_BUILD_CMAKE_PROJECT_NAME
,PY_BUILD_CMAKE_PACKAGE_VERSION
→PY_BUILD_CMAKE_PROJECT_VERSION
(the old variables are still available for backwards compatibility). - More robust CMake FindPython hints.
- New Variables reference: https://tttapa.github.io/py-build-cmake/Variables.html
- Simplified minimal example CMakeLists.txt.
- Improved documentation.
Full Changelog: 0.3.3...0.3.4
0.3.3
0.3.2
- Support non-Visual Studio generators when cross-compiling for Windows on ARM
- Add
cross.generator_platform
option - Fix CLI paths on Windows
Full Changelog: 0.3.1...0.3.2
0.3.1
- Added SWIG example
- Improved stable ABI Wheel tags logic
- New
--override
CLI option - Updated cross-compilation documentation
- More cibuildwheels tests
Full Changelog: 0.3.0...0.3.1
0.3.0
- Improved configuration file format
- Command-line overrides
- Support for multiple CMake build trees in one package
- PEP 420 namespace package support
- Reproducible builds
- CMake preset support (e.g. Conan)
- Allow overriding Wheel tags
- Support guessing Wheel tags based on the current platform
- Support for ABI3 Wheels
- Multiple editable installation modes
- Editable build hook mode that automatically re-builds extension modules
- Cross-compilation workflow documentation
- Automatic CIBW cross-compilation support for macOS and Windows on ARM
- Extensive testing (unit tests, package content checks, cibuildwheel tests)
- Pre-commit Ruff and Mypy checks
- Better error reporting
- Pass a virtual environment's Ninja path to CMake explicitly
- Dropped
flit_core
dependency - Removed convoluted
cross.copy_from_native_build
option - Improved CMake FindPython hints
Simple [tool.py-build-cmake]
configurations in pyproject.toml should be mostly backward compatible, but some options have moved. See https://tttapa.github.io/py-build-cmake/Config.html for details about the new config format.
Full Changelog: 0.1.8...0.3.0
0.3.0a3
- Add
cmake.install_config
option - Improve FindPython hints
Full Changelog: 0.3.0a2...0.3.0a3