Skip to content

Commit

Permalink
Fix typo in dependency handling change
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 16, 2024
1 parent 505e248 commit ef74324
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neon_audio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def build_extra_dependency_list(config: Union[dict, Configuration], additional:

return dependencies


@deprecated("Replaced by `neon_utils.packaging_utils.install_packages_from_pip`", "2.0.0")
def install_tts_plugin(plugin: str) -> bool:
"""
Expand All @@ -85,7 +86,7 @@ def install_tts_plugin(plugin: str) -> bool:
_, tmp_file = mkstemp()
with open(tmp_file, 'w') as f:
constraints = '\n'.join(get_package_dependencies("neon-audio"))
constraints += '\n'.join(get_package_dependencies("ovos-audio"))
constraints += '\n' + '\n'.join(get_package_dependencies("ovos-audio"))
f.write(constraints)
LOG.info(f"Constraints={constraints}")
LOG.info(f"Requested installation of plugin: {plugin}")
Expand Down

0 comments on commit ef74324

Please sign in to comment.