Annofabの3次元プロジェクトを操作するためのCLIです。
pip install annofab-3dpc-editor-clihttps://annofab-3dpc-editor-cli.readthedocs.io/ja/latest/user_guide/command_sample.html を参照してください。
anno3d version
# annofab-3dpc-editor-cli 0.2.2a1- uv
- Python 3.12(開発環境)
uvをインストールしてから、依存関係と開発用の仮想環境を作成します。
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
uv syncuv sync は linter、test、documentation、dev-only の各依存グループを含めて同期します。特定のグループだけを使う場合は、たとえば uv sync --only-group test を実行してください。
コマンドは uv run 経由で実行できます。
uv run anno3d version
make lint
make testGitHub Releases からリリースを作成してください。GitHub Actionsにより自動でPyPIへ公開されます。
バージョン情報は、ビルド時に uv-dynamic-versioning がGitのバージョンタグから生成します。
手動で公開する場合は、以下を実行してください。
uv build
uv publish --token "$PYPI_TOKEN"