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

Support openslide-bin #267

Merged
merged 2 commits into from
Sep 7, 2024
Merged

Support openslide-bin #267

merged 2 commits into from
Sep 7, 2024

Conversation

bgilbert
Copy link
Member

@bgilbert bgilbert commented Mar 28, 2024

Prefer loading OpenSlide from the openslide-bin package if available.

For ease of use, document openslide-bin as the preferred installation option. Don't document manual installation of openslide-bin binaries on Linux and macOS, since there isn't generally an advantage to doing that, but leave the existing Windows Zip instructions for compatibility and to explain os.add_dll_directory().

Add an explanatory ModuleNotFoundError on Linux if OpenSlide is not found.

@openslide-bot
Copy link

openslide-bot commented Mar 28, 2024

DCO signed off ✔️

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.

@Mr-Milk
Copy link

Mr-Milk commented May 27, 2024

May I ask when this PR will be merged and the potential release date of openslide-python 1.4.0?

@bgilbert
Copy link
Member Author

Hopefully within the next couple months. The missing pieces for this PR are docs and error message updates, which don't affect the functionality, so while you're waiting you should be able to use a local OpenSlide Python build with this patch applied.

@Mr-Milk
Copy link

Mr-Milk commented May 28, 2024

I can help with the docs and the error message part if this can accelerate the release process.

@bgilbert
Copy link
Member Author

Thanks for the offer. 1.4.0 isn't only waiting for this PR, though. Type hints and some additional cleanups are also planned, and my attention is currently on some work in the main OpenSlide repo.

If you'd like to contribute the docs and error updates, feel free to submit a new PR to this repo with just those changes. If they look good, I can merge them into this branch or land them separately.

@bgilbert bgilbert changed the title WIP: Support openslide-bin Support openslide-bin Sep 7, 2024
It reads a bit better.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
@bgilbert bgilbert marked this pull request as ready for review September 7, 2024 23:07
Prefer loading OpenSlide from the openslide-bin package if available.

For ease of use, document openslide-bin as the preferred installation
option.  Don't document manual installation of openslide-bin binaries on
Linux and macOS, since there isn't generally an advantage to doing that,
but leave the existing Windows Zip instructions for compatibility and to
explain os.add_dll_directory().

Add an explanatory ModuleNotFoundError on Linux if OpenSlide is not found.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
@bgilbert bgilbert merged commit be71273 into openslide:main Sep 7, 2024
40 checks passed
@bgilbert bgilbert deleted the bin branch September 7, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants