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",
|
|
],
|
|
)
|