/ qwen-vl-utils / pyproject.toml
pyproject.toml
1 [project] 2 name = "qwen-vl-utils" 3 version = "0.0.8" 4 description = "Qwen Vision Language Model Utils - PyTorch" 5 authors = [ 6 { name = "Qwen Team", email = "chenkeqin.ckq@alibaba-inc.com" }, 7 ] 8 dependencies = [ 9 "requests", 10 "pillow", 11 "av", 12 "packaging", 13 ] 14 readme = "README.md" 15 requires-python = ">= 3.8" 16 license = {text = "Apache-2.0"} 17 keywords = [ 18 'large language model', 19 'vision language model', 20 'qwen-vl', 21 'pytorch', 22 ] 23 classifiers = [ 24 'Development Status :: 4 - Beta', 25 'Topic :: Scientific/Engineering :: Artificial Intelligence', 26 'Programming Language :: Python :: 3', 27 'License :: OSI Approved :: Apache Software License', 28 ] 29 30 [project.urls] 31 Homepage = "https://github.com/QwenLM/Qwen2-VL/tree/main/qwen-vl-utils" 32 Repository = "https://github.com/QwenLM/Qwen2-VL.git" 33 Issues = "https://github.com/QwenLM/Qwen2-VL/issues" 34 35 [project.optional-dependencies] 36 decord = [ 37 "decord", 38 ] 39 40 [build-system] 41 requires = ["hatchling"] 42 build-backend = "hatchling.build" 43 44 [tool.rye] 45 managed = true 46 dev-dependencies = [ 47 "torch", 48 "torchvision", 49 ] 50 51 [tool.hatch.metadata] 52 allow-direct-references = true 53 54 [tool.hatch.build.targets.wheel] 55 packages = ["src/qwen_vl_utils"] 56 57 [tool.ruff] 58 line-length = 119 59 60 [tool.ruff.lint] 61 ignore = ["C408", "C901", "E501", "E731", "E741", "W605"] 62 select = ["C", "E", "F", "I", "W"] 63 64 [tool.ruff.lint.per-file-ignores] 65 "__init__.py" = ["E402", "F401", "F403", "F811"] 66 67 [tool.ruff.lint.isort] 68 lines-after-imports = 2 69 known-first-party = ["qwen_vl_utils"] 70 71 [tool.ruff.format] 72 quote-style = "double" 73 indent-style = "space" 74 skip-magic-trailing-comma = false 75 line-ending = "auto"