-
Notifications
You must be signed in to change notification settings - Fork 65
Possible to override pyproject.toml project version? #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It is invalid to use Eventually, scikit-build-core will support setuptools-scm, which supports setting this via a config variable. It should also support setting it in CMake. If you are not using the |
Of course I have the entire I do use By the way thank you for building this. Scikit-build-core, pybind11, and cibuildwheel together make building a Python extension a downright joy compared to what it took last time I was down this path 8 years ago. |
Ah, makes much more sense. Yep, it will be possible in the not too distant future. I've got some preparatory work in a branch for it, in fact. Just have to work out the design, making it general enough but not too general. (And these will eventually be much more closely integrated, give it 3-4 months :) ) |
I'm building Python bindings for a C++ library. The C++ library defines its version and I'd like the Python bindings to have the same version.
Currently have this in my pyproject.toml:
Is it possible to override this value on the command-line somehow so my CI can set the value to match the C++ library's?
The text was updated successfully, but these errors were encountered: