refactor: rename project to hy3d, full CLI overhaul
- package hunyuan3dweb/ -> hy3d/ (imports: from hy3d import ...) - CLI: MiniMax-style verb/noun commands (quota/list/status/formats/ download/text/image/multi-view/sketch/animate/texture/topo/cancel/ share/auth/config), global --json/--cookies, env HY3D_COOKIES/HY3D_JSON - exit codes: 0 ok / 1 env / 2 auth-expired / 3 cookie-missing - generation commands support --wait polling with stderr progress - local images auto-upload to COS in image/multi-view/sketch/animate/texture/topo - old commands removed (no backwards compat) - config dir kept at ~/.config/hunyuan3dweb to preserve existing cookies - deps: requests>=2.32.3, browser extras cloakbrowser>=0.3.31/playwright>=1.40 - skill updated: bin/hy3d shim replaces driver.sh; all commands live-verified
This commit is contained in:
+12
-12
@@ -3,27 +3,27 @@ requires = ["setuptools>=61.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "hunyuan3dweb"
|
||||
version = "0.1.0"
|
||||
description = "Tencent Hunyuan 3D Web API client and browser automation tools"
|
||||
name = "hy3d"
|
||||
version = "0.2.0"
|
||||
description = "非官方腾讯混元 3D CLI 与 Python API 客户端(3d.hunyuan.tencent.com)"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
"requests",
|
||||
"requests>=2.32.3",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
browser = [
|
||||
"cloakbrowser",
|
||||
"playwright",
|
||||
"cloakbrowser>=0.3.31",
|
||||
"playwright>=1.40",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
hunyuan3dweb = "hunyuan3dweb.cli:main"
|
||||
hunyuan3dweb-login = "hunyuan3dweb.browser.login:main"
|
||||
hunyuan3dweb-sniffer = "hunyuan3dweb.browser.sniffer:main"
|
||||
hunyuan3dweb-generate = "hunyuan3dweb.browser.generator:main"
|
||||
hy3d = "hy3d.cli:main"
|
||||
hy3d-login = "hy3d.browser.login:main"
|
||||
hy3d-sniffer = "hy3d.browser.sniffer:main"
|
||||
hy3d-generate = "hy3d.browser.generator:main"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["hunyuan3dweb*"]
|
||||
include = ["hy3d*"]
|
||||
Reference in New Issue
Block a user