AMMICO/pyproject.toml

84 строки
1.9 KiB
TOML

[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "ammico"
dynamic = ["version"]
description = "AI Media and Misinformation Content Analysis Tool"
readme = "README.md"
maintainers = [
{ name = "Inga Ulusoy", email = "ssc@iwr.uni-heidelberg.de" },
{ name = "Dmitrii Kapitan", email = "ssc@iwr.uni-heidelberg.de" },
]
requires-python = ">=3.9, <3.12"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"accelerate>=0.22",
"bitsandbytes",
"colorgram.py",
"colour-science",
"dash",
"dash-bootstrap-components",
"deepface",
"google-cloud-vision",
"googletrans-py", # instead of googletrans4.0.0rc1, for a temporary solution due to incompatibility with jupyterlab
"grpcio",
"huggingface-hub>=0.34.0",
"importlib_metadata",
"importlib_resources",
"matplotlib",
"numpy==1.23.5",
"opencv-python",
"pandas",
"Pillow",
"pooch",
"qwen-vl-utils",
"retina_face",
"safetensors>=0.6.2",
"setuptools",
"spacy",
"tensorflow<2.15", # instead of <=2.16.0 to make it compatible with CUDA 11.8, may change after updating CUDA version.
"tf-keras",
"torchvision",
"tqdm",
"transformers>=4.54",
"webcolors",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"myst-parser",
"sphinx_rtd_theme",
"sphinxcontrib-napoleon",
"nbsphinx",
]
nb = [
"datasets",
"huggingface-hub",
"ipython",
"ipykernel<=6.30.1",
"jupyter",
"jupyter_dash",
]
[project.urls]
homepage = "https://github.com/ssciwr/AMMICO" # FIXME not shown by pip
documentation = "https://ssciwr.github.io/AMMICO/build/html/index.html"
[tool.setuptools]
packages = ["ammico","ammico.data"]