Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div align="center">

[![Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/)
[![Python](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/)
[![License](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**AiLab Project Documentation**
Expand All @@ -30,7 +30,7 @@ USB-utilは、接続済みのUSBデバイス/BLEデバイスをスキャンし

## 技術仕様・動作環境

- Python: 3.10以降(推奨 3.10.18)
- Python: 3.9以降
- macOS/Linux: libusb 1.0(PyUSBバックエンド)
- Windows: WMIサービス有効な環境(WinUSB/Zadig等不要)
- ネイティブライブラリのビルド/読み込みに必要な環境
Expand All @@ -39,12 +39,12 @@ USB-utilは、接続済みのUSBデバイス/BLEデバイスをスキャンし

#### 【重要】pip index一元管理について
依存解決の再現性向上のため、pip の index 設定は
`$AILAB_ROOT/lab_automation_libs/internal-PyPI/pip.conf.local` を正本とします。
`$AILAB_ROOT/lab_automation_module/config/pip/pip.conf.local` を正本とします。

ローカル環境では `AILAB_ROOT` を各マシンで設定してから `PIP_CONFIG_FILE` を指定してください。
```bash
export AILAB_ROOT=/path/to/AiLab
export PIP_CONFIG_FILE="$AILAB_ROOT/lab_automation_libs/internal-PyPI/pip.conf.local"
export PIP_CONFIG_FILE="$AILAB_ROOT/lab_automation_module/config/pip/pip.conf.local"
```

CI では `PIP_CONFIG_FILE` 固定ではなく、環境変数で index を注入してください。
Expand Down Expand Up @@ -111,12 +111,12 @@ pyserial # COMポート列挙/シリアル通信を行う場合
## セットアップ
#### 【重要】pip index一元管理について
依存解決の再現性向上のため、pip の index 設定は
`$AILAB_ROOT/lab_automation_libs/internal-PyPI/pip.conf.local` を正本とします。
`$AILAB_ROOT/lab_automation_module/config/pip/pip.conf.local` を正本とします。

ローカル環境では `AILAB_ROOT` を各マシンで設定してから `PIP_CONFIG_FILE` を指定してください。
```bash
export AILAB_ROOT=/path/to/AiLab
export PIP_CONFIG_FILE="$AILAB_ROOT/lab_automation_libs/internal-PyPI/pip.conf.local"
export PIP_CONFIG_FILE="$AILAB_ROOT/lab_automation_module/config/pip/pip.conf.local"
```

CI では `PIP_CONFIG_FILE` 固定ではなく、環境変数で index を注入してください。
Expand Down Expand Up @@ -303,7 +303,6 @@ MIT License
## 作者
- TITManagement 2025


## 対象者
- 運用担当者: 日常運用・手順実行を行う担当者
- 開発者: 機能追加・保守を行う担当者
Expand All @@ -319,7 +318,7 @@ MIT License
```bash
export AILAB_ROOT=/path/to/AiLab
export PIP_CONFIG_FILE="$AILAB_ROOT/lab_automation_module/config/pip/pip.conf.local"
python -m venv .venv
source .venv/bin/activate
python -m venv .venv_USB-Util
source .venv_USB-Util/bin/activate
python -m pip install -e .
```
Loading