Skip to content

Commit

Permalink
Add dgcode_newsimproject command
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Jan 28, 2024
1 parent 0cb64c7 commit f846b5d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
6 changes: 2 additions & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion doc/source/newsimproject.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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"

0 comments on commit f846b5d

Please sign in to comment.