36 lines
935 B
Markdown
36 lines
935 B
Markdown
# Offline Python wheels (Windows / macOS)
|
|
|
|
이 폴더는 **폐쇄망**에서도 `pip install --no-index` 로 설치할 수 있도록
|
|
런타임·빌드용 wheel 을 포함합니다.
|
|
|
|
## 포함 패키지 (요약)
|
|
|
|
| 용도 | 패키지 |
|
|
|------|--------|
|
|
| 런타임 | `pyusb`, `pynput`, `six` |
|
|
| 빌드/설치 | `pip`, `setuptools`, `wheel`, `packaging`, `build`, `pyproject_hooks`, `colorama` |
|
|
| venv 생성 | `virtualenv` (+ `distlib`, `filelock`, `platformdirs`, `python_discovery`) |
|
|
|
|
## 설치
|
|
|
|
Windows (권장):
|
|
|
|
```bat
|
|
scripts\setup_windows.bat
|
|
```
|
|
|
|
수동:
|
|
|
|
```bat
|
|
python -m pip install --no-index --find-links=vendor\wheels -r requirements.txt
|
|
python -m pip install --no-index --find-links=vendor\wheels --no-build-isolation -e .
|
|
```
|
|
|
|
## wheel 갱신 (온라인 PC에서)
|
|
|
|
```bat
|
|
python -m pip download -d vendor\wheels ^
|
|
pyusb==1.2.1 pynput==1.8.2 six==1.17.0 ^
|
|
"setuptools>=68" wheel packaging pip build virtualenv
|
|
```
|