Skip to content

Commit

Permalink
Remove mycroft imports (#33)
Browse files Browse the repository at this point in the history
* Refactor to remove `mycroft` module imports
Ensure all dependencies are listed in `requirements.txt`

* Update skill.json

---------

Co-authored-by: Daniel McKnight <[email protected]>
Co-authored-by: NeonDaniel <[email protected]>
  • Loading branch information
3 people authored May 10, 2024
1 parent 7e2f366 commit 62e0aa2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
from neon_utils.skills import NeonSkill
from ovos_utils import classproperty
from ovos_utils.process_utils import RuntimeRequirements

from mycroft.skills.mycroft_skill.decorators import intent_file_handler
from ovos_workshop.skills.decorators import intent_handler


class SpeakSkill(NeonSkill):
Expand All @@ -61,7 +60,7 @@ def runtime_requirements(self):
no_network_fallback=True,
no_gui_fallback=True)

@intent_file_handler("speak.intent")
@intent_handler("speak.intent")
def speak_back(self, message):
"""
Repeat the utterance back to the user.
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
neon-utils~=1.0
ovos_utils~=0.0, >=0.0.28
ovos-workshop~=0.0.15
1 change: 1 addition & 0 deletions skill.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"requirements": {
"python": [
"neon-utils~=1.0",
"ovos-workshop~=0.0.15",
"ovos_utils~=0.0, >=0.0.28"
],
"system": {},
Expand Down

0 comments on commit 62e0aa2

Please sign in to comment.