summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-11-08 16:09:03 -0200
committerdrebs <drebs@riseup.net>2017-11-14 08:05:48 -0200
commit76993d0add8c9786b29889d190c6bc46532262fd (patch)
tree6c6fba566e96a93797e76c185fc0a47a63c7851f /setup.py
parent6d26619473c01f3c855319a8d7f0cbf1e657ab30 (diff)
[pkg] add binary command for soledad-server
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index da2ee5e3..61164b4a 100644
--- a/setup.py
+++ b/setup.py
@@ -106,6 +106,8 @@ extras = {
'signaling': signaling
}
+soledad_server = 'soledad-server=leap.soledad.server.launcher:run_server'
+
setup(
name='leap.soledad',
version=versioneer.get_version(),
@@ -129,5 +131,6 @@ setup(
package_dir={'': 'src'},
package_data={'': ["*.sql"]},
install_requires=install_requires,
- extras_require=extras
+ extras_require=extras,
+ entry_points={'console_scripts': [soledad_server]},
)