fixes the sshuttle entry-point in setup.py

This fixes the following error:

    "import_name": entry.suffix.split(".")[0],
    AttributeError: 'NoneType' object has no attribute 'split'

See
https://pythonhosted.org/setuptools/setuptools.html#automatic-script-creation
This commit is contained in:
zimbatm 2016-01-09 20:01:34 +00:00
parent 1c46f25e13
commit b4b283b214

View File

@ -45,7 +45,7 @@ setup(
],
entry_points={
'console_scripts': [
'sshuttle = sshuttle.__main__',
'sshuttle = sshuttle:__main__',
],
},
tests_require=['pytest', 'mock'],