Skip to content

Simplify install notes #525

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

Merged
merged 1 commit into from
Apr 19, 2025
Merged

Conversation

kleisauke
Copy link
Member

@kleisauke kleisauke commented Mar 14, 2025

Noticed this after I wrote comment #507 (comment). However, this is not an issue for editable installs. For example, this is all fine:

$ pip uninstall -y pyvips pyvips-binary
$ pip cache purge
$ pip install -e .[binary]
$ ldd $(python -m site --user-site)/_libvips.abi3.so | grep libvips
	libvips-65e2e1b0.so.42 => /home/kleisauke/.local/lib/python3.13/site-packages/pyvips_binary.libs/libvips-65e2e1b0.so.42 (0x00007f1d86c00000)
$ pip uninstall -y pyvips pyvips-binary
$ pip cache purge
$ pip install pyvips-binary
$ pip install -e .
$ ldd $(python -m site --user-site)/_libvips.abi3.so | grep libvips
	libvips-65e2e1b0.so.42 => /home/kleisauke/.local/lib/python3.13/site-packages/pyvips_binary.libs/libvips-65e2e1b0.so.42 (0x00007f1d86c00000)

But this builds against a globally installed libvips, if present.

$ pip uninstall -y pyvips pyvips-binary
$ pip cache purge
$ pip install .[binary]
$ ldd $(python -m site --user-site)/_libvips.abi3.so | grep libvips
	libvips.so.42 => /lib64/libvips.so.42 (0x00007fa0f3c00000)
$ pip uninstall -y pyvips pyvips-binary
$ pip cache purge
$ pip install pyvips-binary
$ pip install .
$ ldd $(python -m site --user-site)/_libvips.abi3.so | grep libvips
	libvips.so.42 => /lib64/libvips.so.42 (0x00007f5d8a200000)

@jcupitt jcupitt merged commit e8f0085 into libvips:master Apr 19, 2025
6 checks passed
@jcupitt
Copy link
Member

jcupitt commented Apr 19, 2025

Ooop, sorry, I missed this PR.

@kleisauke kleisauke deleted the simplify-install-notes branch April 19, 2025 20:37
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.

2 participants