Add pip installation support and Conan bootstrap#11
Open
greenbrettmichael wants to merge 9 commits intoUltimaker:mainfrom
Open
Add pip installation support and Conan bootstrap#11greenbrettmichael wants to merge 9 commits intoUltimaker:mainfrom
greenbrettmichael wants to merge 9 commits intoUltimaker:mainfrom
Conversation
greenbrettmichael
commented
Apr 24, 2026
- Implemented a CMake option to auto-run Conan install when building as a pip package, ensuring C++ dependencies are fetched.
- Updated README to include instructions for installing via pip.
- Added a minimal Conan recipe for pip installations to avoid requiring internal Ultimaker packages.
- Enhanced conanfile.py to support system Python option.
- Added installation rules for the pyUvula module to facilitate packaging for pip.
- Implemented a CMake option to auto-run Conan install when building as a pip package, ensuring C++ dependencies are fetched. - Updated README to include instructions for installing via pip. - Added a minimal Conan recipe for pip installations to avoid requiring internal Ultimaker packages. - Enhanced conanfile.py to support system Python option. - Added installation rules for the pyUvula module to facilitate packaging for pip.
Updated the CMake configuration to specify the C++20 standard when bootstrapping Conan dependencies for pip builds. This ensures compatibility with modern C++ features and improves the overall build process.
Removed an extraneous character at the beginning of the file. This change ensures proper parsing of the CMake configuration.
Updated the CMakeLists.txt to properly quote the CMAKE_BUILD_TYPE variable in the conditional check. This ensures correct evaluation of the build type when determining whether to strip the pyUvula module for non-debug builds.
- Change find_package from Python to Python3 to ensure compatibility with newer Python versions. - Specify pybind11 version range to avoid potential breaking changes in future releases.
This change includes 'ninja' in the list of required packages for the build system. This ensures that the necessary build tools are available for the project, improving the build process.
The ninja dependency has been removed from the build-system requirements in pyproject.toml. The CMake generator is now set directly to "Ninja" in the configuration.
Changed the CMake generator specification from a string to an argument in the args list. This aligns with the expected format for scikit-build and ensures proper configuration during the build process.
This change adds the Ninja generator option to the Conan toolchain configuration when building as a pip package. This ensures that the build system uses Ninja for improved build performance and efficiency.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.