diff --git a/doc/source/conf.py b/doc/source/conf.py index 7f2420b..2283938 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -167,12 +167,10 @@ def run_tricorder_cmds(): invoke_in_pkgroot( ['sb'], pkgroot, c1 ) - invoke_in_pkgroot( ['python3','-m', - 'simplebuild_dgcode.newsimproject','-h'], + invoke_in_pkgroot( ['dgcode_newsimproject','-h'], pkgroot, bd / 'autogen_tricorder_newsimproj_help.txt' ) - invoke_in_pkgroot( ['python3','-m', - 'simplebuild_dgcode.newsimproject','TriCorder'], + invoke_in_pkgroot( ['dgcode_newsimproject','TriCorder'], pkgroot, bd / 'autogen_tricorder_newsimproj_TriCorder.txt' ) invoke_in_pkgroot( ['sb','--tests'], diff --git a/doc/source/newsimproject.rst b/doc/source/newsimproject.rst index 9bc3302..280ad0f 100644 --- a/doc/source/newsimproject.rst +++ b/doc/source/newsimproject.rst @@ -14,7 +14,7 @@ simplebuild packages containing a little trivial example of how to setup and analyse a Geant4 simulation. The user can then get started quickly, simply by modifying the example. -The command to use is ``python3 -m simplebuild_dgcode.newsimproject``: +The command to use is ``dgcode_newsimproject``: .. include:: ../build/autogen_tricorder_newsimproj_help.txt :literal: diff --git a/pyproject.toml b/pyproject.toml index 50d876c..59949a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,13 +21,9 @@ classifiers = [ "Operating System :: Unix", ] dependencies = [ - 'simple-build-system >= 0.0.27' + 'simple-build-system >= 0.0.30' ] -[project.urls] -"Homepage" = "https://github.com/mctools/simplebuild-dgcode" -"Bug Tracker" = "https://github.com/mctools/simplebuild-dgcode/issues" - [project.optional-dependencies] recommended = [ 'numpy', @@ -46,3 +42,10 @@ all = [ 'pandas', 'PySimpleGUI' ] + +[project.urls] +"Homepage" = "https://mctools.github.io/simplebuild-dgcode/" +"Bug Tracker" = "https://github.com/mctools/simplebuild-dgcode/issues" + +[project.scripts] +dgcode_newsimproject = "simplebuild_dgcode._cli:newsimproject"