trezor / cython-hidapi

:snake: Python wrapper for the HIDAPI
Other
285 stars 110 forks source link

Add windows DLL to Python package #158

Closed thewh1teagle closed 1 year ago

thewh1teagle commented 1 year ago

When installing hid on windows we need to manually download the DLL from releases and move it somewhere in PATH. Please add it to the Python package so users don't need to mess with that.

prusnak commented 1 year ago

Can you try coming up with a pull request that does this?

shuffle2 commented 1 year ago

I think this issue is for https://github.com/apmorton/pyhidapi and not this project. Somewhat confusing as they both install as the hid module, but this project works for me without an external DLL (and the other project does not).

This project builds hidapi into the cython module and loads hid.dll from system32.

prusnak commented 1 year ago

@shuffle2 is right