libusb-package icon indicating copy to clipboard operation
libusb-package copied to clipboard

Packaged libusb shared libraries for Python.

Results 13 libusb-package issues
Sort by recently updated
recently updated
newest added

Looks like wheels are built for each supported Python version individually. Assuming it there are no other blockers to release a wheel for Python 3.12, could we have wheels generated...

Fixes https://github.com/pyocd/libusb-package/issues/18 Based on https://github.com/joerick/python-ctypes-package-sample CI job from my fork: https://github.com/carlosperate/libusb-package/actions/runs/6981684546 Seems to be working, but I would need to test it. Same question as https://github.com/pyocd/libusb-package/pull/17#issuecomment-1825023697, what would be the...

Looking into adding tests (issue https://github.com/pyocd/libusb-package/issues/19), and it looks like we can run a test step in cibuildwheel after each wheel is built, simple! 🥳 https://cibuildwheel.readthedocs.io/en/v2.16.2/options/#testing So I've added `pyusb`...

Initial Python 3.12 support added to pypa/[email protected]: https://github.com/pypa/cibuildwheel/releases/tag/v2.13.0 But final 3.12.0 support added to pypa/[email protected], which is the latest release: https://github.com/pypa/cibuildwheel/releases/tag/v2.16.2 Fixes https://github.com/pyocd/libusb-package/issues/16.

I would assume none of the C code from this package is using the Python C API, is that correct? If so, I think maybe the wheels can be declared...

I'd be nice to have the built wheels tested in CI as well. If it's something simple like running the `test.py` script I'd be happy to provide a PR adding...

From `pip install --no-cache-dir -v libusb-package`: Output ``` Using pip 23.1.2 from \\Mac\Home\dev\pysensornet2\venv\Lib\site-packages\pip (python 3.11) Collecting libusb-package Downloading libusb-package-1.0.26.1.tar.gz (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 6.7 MB/s eta 0:00:00 Running command...

libusb 1.0.25 added support for building it out of tree. This is the default behaviour for setuptools, and is much cleaner.

`README.md` says: > All releases include wheels for Linux, macOS, and Windows for multiple architectures. Where exactly do I find these "wheels" for Windows, and how exactly do I use...

I know this is a somewhat niche use-case, but I've found that `libusb_package.find_library()` does not work if `libusb_package` is in a ZIP file that is added to the Python PATH....