From 1cd93ecf1420b41739568a343fc7bd65a355b697 Mon Sep 17 00:00:00 2001 From: Addison Elliott Date: Wed, 6 Nov 2024 21:06:22 -0600 Subject: [PATCH] Fix/improve pyproject.toml metadata #160 * Incorrect README path causing issues with publishing * Introduced in #151. * Point to `LICENSE` file * Add myself to authors list --- MANIFEST.in | 2 +- pyproject.toml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index a659298..29ab8cc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ include AUTHORS -include README.md +include README.rst include LICENSE diff --git a/pyproject.toml b/pyproject.toml index 97688c3..3b790bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,10 +6,13 @@ build-backend = "setuptools.build_meta" name = "pynrrd" dynamic = ["version"] description = "Pure python module for reading and writing NRRD files." -readme = { file = "README.txt", content-type = "text/x-rst" } +readme = { file = "README.rst", content-type = "text/x-rst" } requires-python = ">=3.7" -license = { text = "MIT License" } -authors = [{ name = "Maarten Everts", email = "me@nn8.nl" }] +license = { file = "LICENSE" } +authors = [ + { name = "Maarten Everts", email = "me@nn8.nl" }, + { name = "Addison Elliott", email = "addison.elliott@gmail.com" } +] keywords = ["nrrd", "teem", "image", "processing", "file", "format"] classifiers = [ "License :: OSI Approved :: MIT License",