1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-17 11:37:03 +01:00
csv-metadata-quality/pyproject.toml
Alan Orth 94cec080d6
pyproject.toml: remove Hatch direct-references
Apparently I copied this from somewhere but it's not needed in this
project because we are not using direct dependency references (which
seem to be local packages).
2024-05-23 09:43:08 +03:00

53 lines
1.4 KiB
TOML

[project]
name = "csv-metadata-quality"
version = "0.6.1"
description="A simple, but opinionated CSV quality checking and fixing pipeline for CSVs in the DSpace ecosystem."
authors = [
{ name = "Alan Orth", email = "alan.orth@gmail.com" }
]
license="GPL-3.0-only"
repository = "https://github.com/ilri/csv-metadata-quality"
homepage = "https://github.com/ilri/csv-metadata-quality"
dependencies = [
"pandas[feather,performance]>=2.2.1",
"python-stdnum>=1.19",
"requests>=2.31.0",
"requests-cache>=1.2.0",
"colorama>=0.4.6",
"ftfy>=6.1.3",
"country-converter>=1.2",
"pycountry>=23.12.11",
"py3langid>=0.2.2",
]
readme = "README.md"
requires-python = ">= 3.9"
[project.scripts]
csv-metadata-quality = 'csv_metadata_quality.__main__:main'
# So rye doesn't fall back to setuptools
# See: https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-build-backend
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.0.2",
"pytest-clarity>=1.0.1",
"isort>=5.13.2",
"csvkit>=1.4.0",
"ipython>=8.22.1",
"fixit>=2.1.0",
"scalene>=1.5.35",
]
# So hatch doesn't try to build other top-level directories like "data"
[tool.hatch.build.targets.wheel]
packages = ["csv_metadata_quality"]
[tool.isort]
profile = "black"
line_length=88