From 22614a6fbda8bbf11c16c7d72f2f675139866ad6 Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Fri, 28 Aug 2026 11:14:27 +0000 Subject: [PATCH 1/2] Make description shorter, add a longer long_description --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d598ec4..abee95a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,15 @@ build-backend = "setuptools.build_meta" [project] name = "abinslib" version = "0.1.0.post1" -description = "A library of calculation methods for inelastic neutron-scattering intensities from harmonic phonon simulation data." +description = "Inelastic neutron-scattering intensities from phonons." +long_description = """\ +A library of calculation methods for inelastic neutron-scattering intensities from harmonic phonon simulation data. + +This is intended to reproduce the calculations of the Abins algorithms in Mantid and make them more broadly available - eventually acting as a backend for that package. +It should also function as a playground for method development and benchmarking of different approximations in this area. + +End users are primarily expected to interact with abinslib through downstream software: Mantid, workflow managers, alternative GUIs... The API is allowed to be a bit strict and dry compared to some scientific libraries, as the target audience are research software engineers. +""" requires-python = ">=3.11" dependencies = [ "euphonic >= 2.0.0,<3", From 2b5379024870e7eab94511d2f805f59395a148aa Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Fri, 28 Aug 2026 11:21:49 +0000 Subject: [PATCH 2/2] Use readme metadata, long_description isn't a real thing --- pyproject.toml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index abee95a..705a8af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,14 +6,7 @@ build-backend = "setuptools.build_meta" name = "abinslib" version = "0.1.0.post1" description = "Inelastic neutron-scattering intensities from phonons." -long_description = """\ -A library of calculation methods for inelastic neutron-scattering intensities from harmonic phonon simulation data. - -This is intended to reproduce the calculations of the Abins algorithms in Mantid and make them more broadly available - eventually acting as a backend for that package. -It should also function as a playground for method development and benchmarking of different approximations in this area. - -End users are primarily expected to interact with abinslib through downstream software: Mantid, workflow managers, alternative GUIs... The API is allowed to be a bit strict and dry compared to some scientific libraries, as the target audience are research software engineers. -""" +readme = "README.md" requires-python = ">=3.11" dependencies = [ "euphonic >= 2.0.0,<3",