You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible to supply "global-options" to the build step?
I'm looking at a project that is doing the following:
CC="cc -mavx2" pip install pillow-simd==9.0.0.post3 --global-option="build_ext" --global-option="--enable-zlib" --global-option="--enable-jpeg" --global-option="--enable-tiff"
If I "uv add pillow-simd==9.0.0.post3", I can see the _imaging.so doesn't contain the jpeg symbols
The text was updated successfully, but these errors were encountered:
with setuptools 75.6.0, I'm able to, at least, pass these options, like so:
CC="cc -mavx2" uv add -vv -n pillow-simd==9.0.0.post3 -C--build-option="build_ext" -C--build-option="--enable-webp" -C--build-option="--enable-webpmux" -C--build-option="--enable-jpeg2000" -C--build-option="--enable-zlib" -C--build-option="--enable-jpeg"
I verified by adding -C--build-option="--enable-tiff" and the build failed because it couldn't find libtiff.
but how do I declare these options in the toml config?
I just finished wrestling uv for a few hours on a similar problem. I was trying to download and build the latest development version of mypy, then building it using the setup.py file (compiles it with mypyc, making it much faster).
The actual shell command I essentially wanted to run was:
python setup.py bdist_wheel --use-mypyc
And I found that the following pyproject.toml settings do just that:
is it possible to supply "global-options" to the build step?
I'm looking at a project that is doing the following:
CC="cc -mavx2" pip install pillow-simd==9.0.0.post3 --global-option="build_ext" --global-option="--enable-zlib" --global-option="--enable-jpeg" --global-option="--enable-tiff"
If I "uv add pillow-simd==9.0.0.post3", I can see the _imaging.so doesn't contain the jpeg symbols
The text was updated successfully, but these errors were encountered: