Add __main__.py file

This file is used as a console entry point in the packaged version of the
application. It simply redirects all arguments to the invoke command, which
does all the work.
This commit is contained in:
Roland Geider
2015-09-14 17:23:19 +02:00
parent ed7bb770b8
commit 7369f61c74
2 changed files with 37 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ setup(
install_requires=install_requires,
entry_points={
'console_scripts': [
'wger = wger.main:main',
'wger = wger.__main__:main',
],
},
)