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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user