Replaces the upstream GitHub-Releases-fetch shim with a local-wheel shim so the package installs cleanly from a private gitea repo over SSH (no HTTPS download / token plumbing required at install time).
21 lines
577 B
TOML
21 lines
577 B
TOML
[build-system]
|
|
requires = ["setuptools>=64", "wheel", 'tomli; python_version < "3.11"']
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "libusb"
|
|
version = "1.0.29"
|
|
description = "libusb USB device access library (static build) (pre-built)"
|
|
requires-python = ">=3.8"
|
|
|
|
[tool.setuptools]
|
|
packages = ["libusb"]
|
|
|
|
[tool.setuptools.package-data]
|
|
libusb = ["*.so", "install/**/*"]
|
|
|
|
[tool.shim]
|
|
# IQ.Lvbs fork: wheels are vendored under wheels/ in this branch; setup.py extracts
|
|
# the platform-matched wheel locally instead of fetching from a release URL.
|
|
datadir = "install"
|