full-policeman-85126
01/12/2024, 8:58 AMfull-policeman-85126
01/12/2024, 9:56 AMscikit-build-core
as a build backend. Apparently it's also possible to pass corresponding --config-settings
to pip install, instead of using the CMAKE_ARGS
env variable:
https://github.com/orgs/scikit-build/discussions/815#discussioncomment-4359866
I also tried "repackaging" the sdist as a wheel using a python_distribution
target, but as far as I understand, this would require pulling in the source code of the package.
What I want instead is for pex_binary
to forward the --config-settings
(or a corresponding CMAKE_ARGS
env var) to the `pip install`call.careful-address-89803
01/20/2024, 6:06 AM--subprocess-environment-env-vars
should work for that. I find the syntax is easier to get right if you're setting it in the pants.toml file. You can crack into everything Pants is doing with the --keep-sandboxes=always
flag, which will keep the sandboxes around. you can at least see if your envvars are making it in.