GithubHelp home page GithubHelp logo

Why do Pillow's wheels put shared objects in the non-standard `.dylibs` directory on macOS (and thereby break code-signing without tons of additional support code)? about pillow HOT 5 CLOSED

glyph avatar glyph commented on June 23, 2024
Why do Pillow's wheels put shared objects in the non-standard `.dylibs` directory on macOS (and thereby break code-signing without tons of additional support code)?

from pillow.

Comments (5)

glyph avatar glyph commented on June 23, 2024

(It's also possible that Pillow is entirely the wrong project here and I should be reporting this on cibuildwheel, since I can't even find the string ".dylibs" in this project; I don't really know exactly what is going on here)

from pillow.

nulano avatar nulano commented on June 23, 2024

I think you may be looking for https://github.com/matthew-brett/delocate

(Or perhaps you are asking why we use it?)

from pillow.

radarhere avatar radarhere commented on June 23, 2024

(Or perhaps you are asking why we use it?)

We don't, explicitly. It is cibuildwheel that uses it.

from pillow.

radarhere avatar radarhere commented on June 23, 2024

I agree that this is a question for delocate rather than Pillow

https://github.com/matthew-brett/delocate/blob/f6af44562dd90d0f9279ab77abeab607ee9c2ee0/delocate/delocating.py#L531-L534

def _decide_dylib_bundle_directory(
    wheel_dir: str, package_name: str, lib_sdir: str = ".dylibs"
) -> str:
    """Return a relative directory which should be used to store dylib files.

From a glance at your project, I imagine you would be concerned about this situation for other libraries as well, so I think it is best to take this discussion over there.

from pillow.

glyph avatar glyph commented on June 23, 2024

OK, will do!

from pillow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.