Skip to content

Adding libmagic to python-magic wheel on PyPI #295

Description

@youngcho22

I know the installation guide explicitly states to install libmagic before the python-magic download, but the fact that there's a wheel binary for python-magic confuses me, since my understanding of wheel binaries is that it's meant to be self-contained.

Is there any plan to add libmagic to python-magic whls in the future, even just for linux and macos? or do not have a wheel at all for this package?

Activity

  1. ahupp commented on Sep 20, 2023

    @ahupp
    Owner

    You aren't alone, this is a regular pain point. Then this library was first uploaded you would generally never ship binaries but the expectation has shifted over time. I just received a PR that sets up the wheels with the shared library, so will review that soon and hopefully fix it.

  2. NTC4818 commented on Jan 25, 2024

    @NTC4818

    Is there any idea why aws lambda might not be accepting this code? The error is that it can't see libmagic, but I am not sure where the mapping is. Any help would be huge

  3. ahupp commented on Apr 17, 2024

    @ahupp
    Owner

    @NTC4818 can you give an example?

  4. ahupp commented on Apr 17, 2024

    @ahupp
    Owner

    Dupe of #294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions