Files
juc500/scripts/setup_windows.bat
T
joyharam 861b569994 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>
2026-07-15 10:44:09 +09:00

26 lines
746 B
Batchfile

@echo off
setlocal
cd /d %~dp0..
py -3 -m venv .venv
call .venv\Scripts\activate.bat
python -m pip install -U pip
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