mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-10 00:05:51 +01:00
Alan Orth
f6c6c94a1e
These are the closest to semantic versioning in Python that I can find with PEP 621 syntax. For example: > ~=3.1: version 3.1 or later, but not version 4.0 or later. > ~=3.1.2: version 3.1.2 or later, but not version 3.2.0 or later. For most cases I want to bump the minor and micro / patch. See: https://packaging.python.org/en/latest/specifications/version-specifiers/#examples
65 lines
1.7 KiB
TOML
65 lines
1.7 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= { file = "LICENSE.txt" }
|
|
dependencies = [
|
|
"pandas[feather,performance]~=2.2",
|
|
"python-stdnum~=1.19",
|
|
"requests~=2.31",
|
|
"requests-cache~=1.2",
|
|
"colorama~=0.4",
|
|
"ftfy~=6.1",
|
|
"country-converter~=1.2",
|
|
"pycountry~=23.12",
|
|
"py3langid~=0.2",
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">= 3.9"
|
|
|
|
classifiers = [
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Natural Language :: English",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
]
|
|
|
|
[project.urls]
|
|
repository = "https://github.com/ilri/csv-metadata-quality"
|
|
homepage = "https://github.com/ilri/csv-metadata-quality"
|
|
|
|
[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",
|
|
"pytest-clarity~=1.0",
|
|
"isort~=5.13",
|
|
"csvkit~=1.4",
|
|
"ipython~=8.22",
|
|
"fixit~=2.1",
|
|
]
|
|
|
|
# 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
|