Skip to content

Commit

Permalink
Remove mycroft imports (#85)
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 <daniel@neon.ai>
Co-authored-by: NeonDaniel <NeonDaniel@users.noreply.github.com>
  • Loading branch information
3 people committed May 10, 2024
1 parent 2a019f6 commit 6277cd5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
from neon_utils.log_utils import LOG
from adapt.intent import IntentBuilder
from os import listdir, path

from mycroft.skills import skill_api_method, intent_handler
from ovos_workshop.decorators import skill_api_method, intent_handler


class AboutSkill(NeonSkill):
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
neon-utils~=1.2,>=1.2.2,!=1.9.0
ovos-utils~=0.0, >=0.0.28
ovos-utils~=0.0, >=0.0.28
ovos-workshop~=0.0.15
adapt-parser<2.0,>=0.5
4 changes: 3 additions & 1 deletion skill.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"systemDeps": false,
"requirements": {
"python": [
"adapt-parser<2.0,>=0.5",
"neon-utils~=1.2,>=1.2.2,!=1.9.0",
"ovos-utils~=0.0, >=0.0.28"
"ovos-utils~=0.0, >=0.0.28",
"ovos-workshop~=0.0.15"
],
"system": {},
"skill": []
Expand Down

0 comments on commit 6277cd5

Please sign in to comment.