diff --git a/README.md b/README.md index 349fec7..bafbc7a 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,9 @@ TCP sockets. Example ------- +Note: If you have installed the package, there is also the program +`ntunnel` that can be used instead of `python -m ntunnel`. + Generate the keys: ``` python -m ntunnel genkey serverkey diff --git a/setup.py b/setup.py index 27aff48..378a4e5 100644 --- a/setup.py +++ b/setup.py @@ -29,9 +29,9 @@ setup(name='ntunnel', extras_require = { 'dev': [ 'coverage' ], }, - entry_poitns={ - 'console_scripts': { - 'ntunnel': 'ntunnel:main', - } + entry_points={ + 'console_scripts': [ + 'ntunnel = ntunnel.__main__:main', + ] } )