Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Make entry point a standalone console script #503

Open
drewejohnson opened this issue Aug 13, 2023 · 3 comments
Open

ENH Make entry point a standalone console script #503

drewejohnson opened this issue Aug 13, 2023 · 3 comments

Comments

@drewejohnson
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
We have an entry point that lets people do thing with python -m serpentTools - https://serpent-tools.readthedocs.io/en/master/command-line.html

This might be useful, or else I assume we wouldn't have added it? Maybe a thing to remove?

Describe the solution you'd like

If we keep it, we should modify our packaging files such that you don't need to provide the python -m and can just call serpentTools from the command line and it works

See the setuptools docs for the addition of a "console script" section to pyproject.toml

@drewejohnson
Copy link
Collaborator Author

Maybe we just deprecate this functionality?

@drewejohnson
Copy link
Collaborator Author

One of the commands is list which shows the settings from the yaml file to control the parsers. But, #339 moves to deprecate that functionality so that will be one less command line tool out the way

@drewejohnson
Copy link
Collaborator Author

The other command is to-matlab which presumably relies on our toMatlab methods, which I'm in favor of deprecating - #498

so that would be two entry points down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant