From b16fa9121f676d69bc49044fdae88ba7ed9e7dd3 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 8 Mar 2021 09:49:43 +0200 Subject: [PATCH] pyproject.toml: Add csv-metadata-quality as a script For some reason I stopped having csv-metadata-quality available in my poetry environment after install. It seems I need to add it as a poetry tool script? I had already done this in setup.py years ago, which works for regular python setup.py installs, but hadn't needed to do it in poetry for a year or more that I've been using it, until now. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index dcf2e61..01998ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,9 @@ license="GPL-3.0-only" repository = "https://github.com/ilri/csv-metadata-quality" homepage = "https://github.com/ilri/csv-metadata-quality" +[tool.poetry.scripts] +csv-metadata-quality = 'csv_metadata_quality.__main__:main' + [tool.poetry.dependencies] python = "^3.8" pandas = "^1.0.4"