Skip to content

Add pip installation support and Conan bootstrap#11

Open
greenbrettmichael wants to merge 9 commits intoUltimaker:mainfrom
greenbrettmichael:main
Open

Add pip installation support and Conan bootstrap#11
greenbrettmichael wants to merge 9 commits intoUltimaker:mainfrom
greenbrettmichael:main

Conversation

@greenbrettmichael
Copy link
Copy Markdown

  • 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.
@greenbrettmichael greenbrettmichael marked this pull request as draft April 25, 2026 18:10
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.
@greenbrettmichael greenbrettmichael marked this pull request as ready for review April 25, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant