* added ammico.data to namespace of packagees tool.setuptools

* limited tensorflow version up to 2.12.3 due to the bug https://github.com/huggingface/transformers/issues/23352
Этот коммит содержится в:
Petr Andriushchenko 2023-07-07 13:58:24 +02:00 коммит произвёл GitHub
родитель 875b5c5e0e
Коммит 4cecd7ea4f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -47,7 +47,7 @@ dependencies = [
"salesforce-lavis @ git+https://github.com/piterand/LAVIS.git@release_1.0.2",
"setuptools",
"spacy",
"tensorflow",
"tensorflow<=2.12.3",
"torch",
"transformers",
"google-cloud-vision",
@ -59,7 +59,7 @@ dependencies = [
"colorgram.py",
"webcolors",
"colour-science",
"scikit-learn != 1.3.0",
"scikit-learn!=1.3.0",
]
[project.scripts]
@ -70,7 +70,7 @@ 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"]
packages = ["ammico","ammico.data"]
[tool.setuptools.package-data]
# Include any png and csv files found in the "data" subdirectory of "ammico"