We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I didn't know originally that __main__.py is a standard thing in Python, and called the module main.py. This means that the following doesn't work:
__main__.py
main.py
$ python -m delphin [...]: No module named delphin.__main__; 'delphin' is a package and cannot be directly executed
Instead, the following is necessary:
$ python -m delphin.main usage: delphin [-h] [-V] ... [...]
In practice this is not a big deal because installing PyDelphin makes the delphin command available, but it's good to follow best-practices.
delphin
The text was updated successfully, but these errors were encountered:
Fix #375 use standard __main__ module
bd16cc5
904d456
No branches or pull requests
I didn't know originally that
__main__.py
is a standard thing in Python, and called the modulemain.py
. This means that the following doesn't work:Instead, the following is necessary:
In practice this is not a big deal because installing PyDelphin makes the
delphin
command available, but it's good to follow best-practices.The text was updated successfully, but these errors were encountered: