ASFHyP3 / hyp3-cookiecutter

Cookiecutter to quickly generate a new HyP3 Plugin
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Move away from `console_script` entrypoints #10

Closed jhkennedy closed 1 year ago

jhkennedy commented 1 year ago

Inthe past, we've created command line (console-script) entrypoints for hyp3 plugins, making a "hyp3" entry point(s), and a "science" entry point which has more available options. For example, in hyp3-gamma:

For this cookiecutter:

  1. we don't need to register any HyP3 console script entry points as the hyp3 entry points are already accessible on the command line via python -m
  2. we don't need to register extra "science" entry points as this is a cookie cutter intended to help you develop a hyp3-plugin, and not every plugin will need a CLI version of the "science" code (e.g., "scientists" may prefer jupyter notebooks and not use the command line at all)

Accordingly, I believe we can:

jtherrmann commented 1 year ago

Relates to https://github.com/ASFHyP3/hyp3-cookiecutter/issues/9