Files
template-code-location/pyproject.toml
2026-05-27 16:06:23 +02:00

45 lines
1.5 KiB
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "template-code-location"
version = "0.1.0"
description = "Consolidated code location for all data services workflows"
requires-python = ">=3.12"
dependencies = [
"dagster>=1.8.13",
"util-services",
"data-processing",
"dataframe-level-anonymisation",
"field-level-pseudo-anonymisation",
]
[tool.uv]
exclude-dependencies = ["transformers", "spacy-transformers"]
override-dependencies = [
"util-services @ git+https://code.europa.eu/simpl/simpl-open/development/data-services/util-services.git@v0.6.0",
]
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
util-services = { git = "https://code.europa.eu/simpl/simpl-open/development/data-services/util-services.git", rev = "v0.6.0" }
data-processing = { git = "https://code.europa.eu/simpl/simpl-open/development/data-services/data-processing.git", branch = "develop" }
dataframe-level-anonymisation = { git = "https://code.europa.eu/simpl/simpl-open/development/data-services/dataframe-level-anonymisation.git", branch = "develop" }
field-level-pseudo-anonymisation = { git = "https://code.europa.eu/simpl/simpl-open/development/data-services/field-level-pseudo-anonymisation.git", branch = "develop" }
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=7.0.0",
"pytest-mock>=3.0.0"
]
[tool.setuptools.packages.find]
where = ["src"]