Skip to content
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

Automatically find libjpeg-turbo headers and libraries #41

Open
BobbyCephy opened this issue Jun 8, 2023 · 0 comments
Open

Automatically find libjpeg-turbo headers and libraries #41

BobbyCephy opened this issue Jun 8, 2023 · 0 comments

Comments

@BobbyCephy
Copy link

BobbyCephy commented Jun 8, 2023

On Windows in a base conda environment with libjpeg-turbo I only succeed in installing jpegtran-cffi with the following command:
pip install git+https://github.com/jbaiter/jpegtran-cffi.git --global-option="build_ext" --global-option="-I%USERPROFILE%\anaconda3\Library\include" --global-option="-L%USERPROFILE%\anaconda3\Library\lib"

It should install easily on all platforms without any options if a compatible compiler and the libjpeg-turbo package are present.

If the jpegtran executable is found in the PATH, the relative directories of the headers and libraries of libjpeg-turbo can be found automatically.

Related to #20 and #26.

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

No branches or pull requests

1 participant