pyproject.toml 2.32 KB
Newer Older
xuwx1's avatar
xuwx1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
requires = [
    "setuptools>=61.0",
    "wheel",
    "packaging",
    "ninja",
]
build-backend = "setuptools.build_meta"

[project]
name = "lightx2v"
version = "0.1.0"
authors = [
    {name = "LightX2V Contributors"},
]
description = "LightX2V: Light Video Generation Inference Framework"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Topic :: Multimedia :: Video",
]

dependencies = [
    "numpy",
    "scipy",
    "torch<=2.8.0",
    "torchvision<=0.23.0",
    "torchaudio<=2.8.0",
    "diffusers",
    "transformers",
    "tokenizers",
    "tqdm",
    "accelerate",
    "safetensors",
    "opencv-python",
    "imageio",
    "imageio-ffmpeg",
    "einops",
    "loguru",
    "qtorch",
    "ftfy",
    "gradio",
    "aiohttp",
    "pydantic",
    "prometheus-client",
    "gguf",
    "fastapi",
    "uvicorn",
    "PyJWT",
    "requests",
    "aio-pika",
    "asyncpg>=0.27.0",
    "aioboto3>=12.0.0",
    "alibabacloud_dypnsapi20170525==1.2.2",
    "redis==6.4.0",
    "tos",
    "decord",
    "av",
]

[project.urls]
Homepage = "https://github.com/ModelTC/LightX2V"
Documentation = "https://lightx2v-en.readthedocs.io/en/latest/"
Repository = "https://github.com/ModelTC/LightX2V"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
include = ["lightx2v*"]
exclude = ["lightx2v_kernel*"]

[tool.ruff]
exclude = [
    ".git",
    ".mypy_cache",
    ".ruff_cache",
    ".venv",
    "dist",
    "build",
    "__pycache__",
    "*.egg-info",
    ".pytest_cache",
    ".cluade",
    ".cursor",
    "lightx2v_kernel",
]
target-version = "py311"
line-length = 200
indent-width = 4


[tool.ruff.lint]
extend-select = ["I", "F401"]
ignore = ["F"]

[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"**/lightx2v_kernel/*" = ["F401"]
"**/{cookbook,docs}/*" = ["E402", "F401", "F811", "F841"]

[tool.ruff.lint.isort]
known-first-party = ["lightx2v"]
case-sensitive = true