From e680d7f7d62b8ab703f6d366ea8f342c0956c53f Mon Sep 17 00:00:00 2001 From: Thomas Kittelmann Date: Sun, 3 Nov 2024 18:17:19 +0100 Subject: [PATCH] Add new CLI entry points --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9694625c..14985952 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,3 +34,14 @@ test-command = [ "python3 -mNCrystal.test all", "nctool --test", ] + +[project.scripts] +nctool = "NCrystal._cli_nctool:main" +ncrystal_cif2ncmat = "NCrystal._cli_cif2ncmat:main" +ncrystal_endf2ncmat = "NCrystal._cli_endf2ncmat:main" +ncrystal_hfg2ncmat = "NCrystal._cli_hfg2ncmat:main" +ncrystal_mcstasunion = "NCrystal._cli_mcstasunion:main" +ncrystal_ncmat2cpp = "NCrystal._cli_ncmat2cpp:main" +ncrystal_ncmat2hkl = "NCrystal._cli_ncmat2hkl:main" +ncrystal_vdos2ncmat = "NCrystal._cli_vdos2ncmat:main" +ncrystal_verifyatompos = "NCrystal._cli_verifyatompos:main"