Add __main__.py

Makes it easier to run (and test) PROPKA as a module.
This commit is contained in:
Nathan Baker
2020-05-27 07:38:34 -07:00
parent 01385d956f
commit 46ae3d8251

8
propka/__main__.py Normal file
View File

@@ -0,0 +1,8 @@
"""Allow the PROPKA package to be run as a program.
For example, `python -m propka`
"""
from .run import main
if __name__ == "__main__":
main()