From 127e1a800badb0962c732e4c49f1720169064376 Mon Sep 17 00:00:00 2001 From: "dev.takaya.inoue" Date: Tue, 3 Mar 2026 04:08:57 +0900 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20README=E3=81=AEvenv=E8=A1=A8?= =?UTF-8?q?=E8=A8=98=E3=82=92.venv=5FUSB-Util=E3=81=B8=E7=B5=B1=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 596c44c..fc0acf2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@
-[![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** @@ -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等不要) - ネイティブライブラリのビルド/読み込みに必要な環境 @@ -303,7 +303,6 @@ MIT License ## 作者 - TITManagement 2025 - ## 対象者 - 運用担当者: 日常運用・手順実行を行う担当者 - 開発者: 機能追加・保守を行う担当者 @@ -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 . ``` From 37040ed3e805ef9c4740954c730684dbdcf33ba9 Mon Sep 17 00:00:00 2001 From: "dev.takaya.inoue" Date: Fri, 6 Mar 2026 06:01:00 +0900 Subject: [PATCH 2/2] =?UTF-8?q?pip=E8=A8=AD=E5=AE=9A=E5=8F=82=E7=85=A7?= =?UTF-8?q?=E5=85=88=E3=82=92config/pip=E6=AD=A3=E6=9C=AC=E3=81=B8?= =?UTF-8?q?=E7=B5=B1=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fc0acf2..e52205f 100644 --- a/README.md +++ b/README.md @@ -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 を注入してください。 @@ -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 を注入してください。