diff --git a/neon_speech/__main__.py b/neon_speech/__main__.py index 6cdf07d..0e13a87 100644 --- a/neon_speech/__main__.py +++ b/neon_speech/__main__.py @@ -55,5 +55,12 @@ def main(*args, **kwargs): service.shutdown() +def deprecated_entrypoint(): + from ovos_utils.log import log_deprecation + log_deprecation("Use `neon-speech run` in place of `neon_speech_client`", + "2.0.0") + main() + + if __name__ == "__main__": main() diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 607193d..c65553f 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -4,7 +4,7 @@ ovos-utils~=0.0.30 ovos-plugin-manager~=0.0.23 click~=8.0 click-default-group~=1.2 -neon-utils[network,audio]~=1.5,>=1.5.1a7 +neon-utils[network,audio]~=1.6 ovos-config~=0.0.7 ovos-vad-plugin-webrtcvad~=0.0.1 diff --git a/setup.py b/setup.py index 1f8b078..ff62de7 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ def get_requirements(requirements_filename: str): entry_points={ 'console_scripts': [ # TODO: Deprecate `neon_speech_client` entrypoint - 'neon_speech_client=neon_speech.__main__:main', + 'neon_speech_client=neon_speech.__main__:deprecated_entrypoint', 'neon-speech=neon_speech.cli:neon_speech_cli' ] }