diff --git a/setup.py b/setup.py index c885583..a48254a 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,11 @@ package_info = dict( "examples/subscribe", "examples/unsubscribe", ])] + list(recur_expand('share/zulip', 'integrations/')), - scripts=["bin/zulip-send"], + entry_points={ + 'console_scripts': [ + 'zulip-send=zulip.send:main', + ], + }, ) # type: Dict[str, Any] setuptools_info = dict( diff --git a/bin/zulip-send b/zulip/send.py similarity index 100% rename from bin/zulip-send rename to zulip/send.py