Maybe make the setuptools entry point actually work.

This commit is contained in:
Eevee (Alex Munroe) 2013-08-09 13:11:54 -07:00
parent d022e9a8bf
commit efc0d0d10c
2 changed files with 4 additions and 1 deletions

View file

@ -28,6 +28,9 @@ def main(*argv):
else:
command_help()
def setuptools_entry():
main(*sys.argv)
def get_parser(verbose=True):
"""Returns an OptionParser prepopulated with the global options.

View file

@ -16,7 +16,7 @@ setup(
entry_points = {
'console_scripts': [
'pokedex = pokedex.main:main',
'pokedex = pokedex.main:setuptools_entry',
],
},
)