Files
CLI-Anything/shotcut/agent-harness/setup.py
T
Feng Yu 66be2a2e54 feat(shotcut): adopt two-step import/add model, remove batch_mode
- Split add_clip into import_media() + add_clip(clip_id) for chain sharing
- Port upstream features: --at absolute placement, volume-envelope, duck
- Fix ducking window parser: use '..' separator instead of ':' to avoid
  timecode ambiguity (split(":",1) on "HH:MM:SS.mmm:HH:MM:SS.mmm")
- Remove batch_mode; chain sharing is now the default behavior
- Add 8 new tests (208 total), 91% coverage
2026-04-20 10:30:23 +08:00

57 lines
1.8 KiB
Python

#!/usr/bin/env python3
"""
setup.py for cli-anything-shotcut
Install with: pip install -e .
Or publish to PyPI: python -m build && twine upload dist/*
"""
from setuptools import setup, find_namespace_packages
with open("cli_anything/shotcut/README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="cli-anything-shotcut",
version="1.0.0",
author="cli-anything contributors",
author_email="",
description="CLI harness for Shotcut - Video editing and rendering via melt/ffmpeg. Requires: melt (apt install melt), ffmpeg (apt install ffmpeg)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/HKUDS/CLI-Anything",
packages=find_namespace_packages(include=["cli_anything.*"]),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.10",
install_requires=[
"click>=8.0.0",
"prompt-toolkit>=3.0.0",
],
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
],
},
entry_points={
"console_scripts": [
"cli-anything-shotcut=cli_anything.shotcut.shotcut_cli:cli",
],
},
package_data={
"cli_anything.shotcut": ["skills/*.md"],
},
include_package_data=True,
zip_safe=False,
)