mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-09-19 01:27:10 +08:00
* [Live2D] Add LIVE2D.md * [Live2D] Add setup.py * [Live2D] Add CHANGELOG.md * [Live2D] Add cli_anything/live2d/__init__.py * [Live2D] Add cli_anything/live2d/__main__.py * [Live2D] Add cli_anything/live2d/live2d_cli.py * [Live2D] Add cli_anything/live2d/skills/SKILL.md * [Live2D] Add cli_anything/live2d/core/__init__.py * [Live2D] Add cli_anything/live2d/core/parser.py * [Live2D] Add cli_anything/live2d/core/validator.py * [Live2D] Add cli_anything/live2d/core/scanner.py * [Live2D] Add cli_anything/live2d/core/motion_parser.py * [Live2D] Add cli_anything/live2d/core/expression_parser.py * [Live2D] Add cli_anything/live2d/core/texture_info.py * [Live2D] Add cli_anything/live2d/core/physics_parser.py * [Live2D] Add cli_anything/live2d/core/moc3_parser.py * [Live2D] Add cli_anything/live2d/core/comparer.py * [Live2D] Add cli_anything/live2d/core/dependency.py * [Live2D] Add cli_anything/live2d/core/packager.py * [Live2D] Add cli_anything/live2d/core/template.py * [Live2D] Add cli_anything/live2d/core/yoyo_pipeline.py * [Live2D] Add cli_anything/live2d/core/backup.py * [Live2D] Add cli_anything/live2d/core/linter.py * [Live2D] Add cli_anything/live2d/core/differ.py * [Live2D] Add cli_anything/live2d/core/snapshot.py * [Live2D] Add cli_anything/live2d/tests/__init__.py * [Live2D] Add cli_anything/live2d/tests/test_core.py * [Live2D] Add tests/__init__.py * [Live2D] Add tests/test_validator.py * [Live2D] Add tests/test_yoyo_pipeline.py * [Live2D] Add tests/test_new_features.py * [Live2D] Fix: preserve motion extra fields (Sound etc.), moc3 check strict-only * [Live2D] Fix: preserve motion extra fields (Sound etc.), moc3 check strict-only * [Live2D] Fix: preserve motion extra fields (Sound etc.), moc3 check strict-only * [Live2D] Fix test: non-strict validate passes with placeholder moc3 * [Live2D] Fix: yoyo case-insensitive idle, flatten collision detection, pack missing optional deps * [Live2D] Fix: yoyo case-insensitive idle, flatten collision detection, pack missing optional deps * [Live2D] Fix: runtime-check JSON exit code, physics Vertices key * [Live2D] Fix: runtime-check JSON exit code, physics Vertices key * feat(live2d): add repo integration - gitignore, registry, root skill - Add !/live2d/ allowlist in .gitignore (Steps 4/5/6) - Add cli-anything-live2d entry to registry.json - Add skills/cli-anything-live2d/SKILL.md for root skill discovery * fix: address Codex review - flatten JSON output, pack Sound files, texture error handling 1. flatten: run actual flatten before emitting JSON output (--json is output mode, not dry-run) 2. pack: include motion Sound files in package zip 3. texture_info: catch Pillow UnidentifiedImageError for corrupt textures, fall back to header parsing * fix: finish Live2D v0.3.0 blockers --------- Co-authored-by: tron <zhangyazhou@yinshantech.cn> Co-authored-by: yuhao <itsyuhao@icloud.com>
87 lines
2.0 KiB
Python
87 lines
2.0 KiB
Python
#!/usr/bin/env python3
|
|
"""Setup script for cli-anything-live2d.
|
|
|
|
Install (dev mode):
|
|
pip install -e .
|
|
|
|
Build:
|
|
python -m build
|
|
|
|
Publish:
|
|
twine upload dist/*
|
|
"""
|
|
|
|
from pathlib import Path
|
|
from setuptools import setup, find_namespace_packages
|
|
|
|
ROOT = Path(__file__).parent
|
|
README = ROOT / "cli_anything/live2d/README.md"
|
|
|
|
long_description = README.read_text(encoding="utf-8") if README.exists() else ""
|
|
|
|
setup(
|
|
name="cli-anything-live2d",
|
|
version="0.3.0",
|
|
description="CLI harness for Live2D Cubism — inspect, validate, and manage .model3.json models",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
|
|
author="cli-anything contributors",
|
|
author_email="",
|
|
url="https://github.com/HKUDS/CLI-Anything",
|
|
|
|
project_urls={
|
|
"Source": "https://github.com/HKUDS/CLI-Anything",
|
|
"Tracker": "https://github.com/HKUDS/CLI-Anything/issues",
|
|
},
|
|
|
|
license="MIT",
|
|
|
|
packages=find_namespace_packages(include=("cli_anything.*",)),
|
|
|
|
python_requires=">=3.10",
|
|
|
|
install_requires=[
|
|
"click>=8.1",
|
|
],
|
|
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=7",
|
|
"pytest-cov>=4",
|
|
],
|
|
},
|
|
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-live2d=cli_anything.live2d.live2d_cli:main",
|
|
],
|
|
},
|
|
package_data={
|
|
"cli_anything.live2d": ["skills/*.md"],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
|
|
keywords=[
|
|
"cli",
|
|
"live2d",
|
|
"cubism",
|
|
"model",
|
|
"animation",
|
|
"vtuber",
|
|
],
|
|
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Multimedia :: Graphics",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
],
|
|
)
|