OpenVoiceOS/buildroot-external/package/python-mycroft-lib/0001-Add-entry_points-to-in...

37 lines
1.1 KiB
Diff

From f44c0d90512660912920d7d7d0ec1801a336b716 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Wed, 14 Apr 2021 13:38:04 +0200
Subject: [PATCH 1/1] Add entry_points for binaries
---
setup.py | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 7c9f368d..87ab8618 100644
--- a/setup.py
+++ b/setup.py
@@ -67,5 +67,18 @@ setup(
},
packages=find_packages(include=['mycroft*']),
- include_package_data=True
+ include_package_data=True,
+
+ entry_points={
+ 'console_scripts': [
+ 'mycroft-speech-client=mycroft.client.speech.__main__:main',
+ 'mycroft-messagebus=mycroft.messagebus.service.__main__:main',
+ 'mycroft-skills=mycroft.skills.__main__:main',
+ 'mycroft-audio=mycroft.audio.__main__:main',
+ 'mycroft-echo-observer=mycroft.messagebus.client.ws:echo',
+ 'mycroft-audio-test=mycroft.util.audio_test:main',
+ 'mycroft-enclosure-client=mycroft.client.enclosure.__main__:main',
+ 'mycroft-cli-client=mycroft.client.text.__main__:main'
+ ]
+ }
)
--
2.20.1