| 1 | [project] |
| 2 | name = "vimax" |
| 3 | version = "1.2.0" |
| 4 | description = "Agentic video generation with idea, script, novel, TUI, and Web UI workflows" |
| 5 | readme = "readme.md" |
| 6 | requires-python = ">=3.12" |
| 7 | license = "MIT" |
| 8 | dependencies = [ |
| 9 | "aiohttp>=3.12.14", |
| 10 | "chardet>=5.2.0", |
| 11 | "faiss-cpu>=1.12.0", |
| 12 | "google-genai>=1.47.0", |
| 13 | "langchain>=0.3.26,<1", |
| 14 | "langchain-community>=0.3.27,<0.4", |
| 15 | "langchain-openai>=0.3.27,<0.4", |
| 16 | "moviepy>=2.2.1", |
| 17 | "openai>=1.95.0,<2", |
| 18 | "opencv-python", |
| 19 | "pillow>=11.3.0", |
| 20 | "pyyaml>=6.0.2", |
| 21 | "requests>=2.32.4", |
| 22 | "scenedetect[opencv]>=0.6.7.1,<0.7", |
| 23 | "tenacity>=9.1.2", |
| 24 | ] |
| 25 | |
| 26 | [project.urls] |
| 27 | Homepage = "https://github.com/HKUDS/ViMax" |
| 28 | Issues = "https://github.com/HKUDS/ViMax/issues" |
| 29 | |
| 30 | [project.optional-dependencies] |
| 31 | mcp = ["mcp>=2.3,<3"] |
| 32 | |
| 33 | [project.scripts] |
| 34 | vimax = "vimax_cli:main" |
| 35 | |
| 36 | [build-system] |
| 37 | requires = ["hatchling>=1.27"] |
| 38 | build-backend = "hatchling.build" |
| 39 | |
| 40 | [tool.hatch.build] |
| 41 | exclude = [ |
| 42 | "**/__pycache__", "**/*.pyc", "**/.env*", "**/node_modules", "**/dist", |
| 43 | "configs/*.local.yaml", "configs/*.local.json", "**/.vimax", "**/.working_dir", |
| 44 | ] |
| 45 | |
| 46 | [tool.hatch.build.targets.wheel] |
| 47 | only-include = [ |
| 48 | "agent_runtime", "agents", "interfaces", "pipelines", "tools", "utils", |
| 49 | "cli_entrypoints", "prompts/agent.md", "prompts/workflow.md", |
| 50 | "configs/agent.example.yaml", "assets/vimax.png", "ui", "web", |
| 51 | ] |
| 52 | dev-mode-dirs = ["cli_entrypoints"] |
| 53 | |
| 54 | [tool.hatch.build.targets.wheel.sources] |
| 55 | cli_entrypoints = "" |
| 56 | agent_runtime = "vimax_package/app/agent_runtime" |
| 57 | agents = "vimax_package/app/agents" |
| 58 | interfaces = "vimax_package/app/interfaces" |
| 59 | pipelines = "vimax_package/app/pipelines" |
| 60 | tools = "vimax_package/app/tools" |
| 61 | utils = "vimax_package/app/utils" |
| 62 | prompts = "vimax_package/app/prompts" |
| 63 | configs = "vimax_package/app/configs" |
| 64 | assets = "vimax_package/app/assets" |
| 65 | ui = "vimax_package/app/ui" |
| 66 | web = "vimax_package/app/web" |
| 67 | |
| 68 | [tool.hatch.build.targets.wheel.force-include] |
| 69 | "main_agent.py" = "vimax_package/app/main_agent.py" |
| 70 | "main_mcp.py" = "vimax_package/app/main_mcp.py" |
| 71 | |
| 72 | [tool.hatch.build.targets.sdist] |
| 73 | only-include = [ |
| 74 | "pyproject.toml", "readme.md", "README_ZH.md", "LICENSE", "cli_entrypoints", |
| 75 | "agent_runtime", "agents", "interfaces", "pipelines", "tools", "utils", |
| 76 | "main_agent.py", "main_mcp.py", "prompts/agent.md", "prompts/workflow.md", |
| 77 | "configs/agent.example.yaml", "assets/vimax.png", "ui", "web", |
| 78 | "integrations", ".agents/plugins/marketplace.json", |
| 79 | ] |
| 80 | |
| 81 | [tool.uv.sources] |
| 82 | torch = [ |
| 83 | { index = "pytorch-cu128", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, |
| 84 | ] |
| 85 | torchaudio = [ |
| 86 | { index = "pytorch-cu128", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, |
| 87 | ] |
| 88 | |
| 89 | |
| 90 | |
| 91 | [[tool.uv.index]] |
| 92 | name = "pytorch-cu128" |
| 93 | url = "https://download.pytorch.org/whl/cu128" |
| 94 | explicit = true |
| 95 | |
| 96 | [dependency-groups] |
| 97 | dev = [ |
| 98 | "pytest>=8", |
| 99 | ] |
| 100 |