Skip to content

Installing in Python environment downloads executables for all platforms #971

@paduszyk

Description

@paduszyk

🔧 Summary

I am on MacOS. When I install as a Python package, executables for all operating systems (MacOS, Linux, Windows) are downloaded and installed.

Lefthook version

1.11.3 9ee6a56

Steps to reproduce

If installed with uv:

uv add lefthook

Expected results

Platform is detected and only the appropriate distribution is downloaded.

Actual results

This is what I get in my virtual environment (about 44 MB):

Image

Possible Solution

I am not familiar with the package design thus I feel I am not able to propose a good solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions