Vendor pyusb wheel for offline Windows source installs

Include pyusb-1.2.1-py3-none-any.whl under vendor/wheels and wire
setup scripts to pip install --no-index --find-links.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
joyharam
2026-07-15 10:44:09 +09:00
parent ec99c5eac6
commit 861b569994
10 changed files with 52 additions and 9 deletions
+11 -2
View File
@@ -5,12 +5,21 @@ cd /d %~dp0..
py -3 -m venv .venv
call .venv\Scripts\activate.bat
python -m pip install -U pip
pip install -r requirements.txt
pip install -e .
REM PyPI 없이 vendor\wheels 의 pyusb wheel 사용
python -m pip install --no-index --find-links=vendor\wheels -r requirements.txt
if errorlevel 1 (
echo [!] --no-index 실패. find-links + 온라인 허용으로 재시도…
python -m pip install --find-links=vendor\wheels -r requirements.txt
)
python -m pip install --no-index --find-links=vendor\wheels -e .
if errorlevel 1 (
python -m pip install --find-links=vendor\wheels -e .
)
echo.
echo Setup done. Next:
echo .venv\Scripts\activate
echo python -m juc500_xfer info
echo python -m juc500_xfer gui
echo See docs\WINDOWS.md for Zadig / WinUSB steps.
endlocal