Skip to content

Commit

Permalink
Refactor/ovos-gui+ovos-messagebus packages (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Apr 29, 2023
1 parent cb6e1ed commit c9f1d05
Show file tree
Hide file tree
Showing 84 changed files with 89 additions and 3,284 deletions.
6 changes: 3 additions & 3 deletions mycroft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
from ovos_bus_client.message import Message

from ovos_utils.intents import AdaptIntent, IntentBuilder, Intent
from mycroft.skills.context import adds_context, removes_context
from mycroft.skills import (MycroftSkill, FallbackSkill,
intent_handler, intent_file_handler)
from ovos_workshop.decorators import intent_handler, intent_file_handler, adds_context, removes_context
from ovos_workshop.skills import MycroftSkill
from ovos_workshop.skills.fallback import FallbackSkill
from ovos_utils.log import LOG


Expand Down
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"""

from mycroft.deprecated.enclosure.base import *
from mycroft.deprecated.enclosure.base import Enclosure
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/generic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""

from mycroft.deprecated.enclosure.generic import *
from mycroft.deprecated.enclosure.generic import EnclosureGeneric
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/mark1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""

from mycroft.deprecated.enclosure.mark1 import *
from mycroft.deprecated.enclosure.mark1 import EnclosureEyes, EnclosureArduino, EnclosureMouth, Enclosure, EnclosureReader, EnclosureWriter, EnclosureMark1
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/mark1/arduino.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""

from mycroft.deprecated.enclosure.mark1.arduino import *
from mycroft.deprecated.enclosure.mark1.arduino import EnclosureArduino
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/mark1/eyes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""

from mycroft.deprecated.enclosure.mark1.eyes import *
from mycroft.deprecated.enclosure.mark1.eyes import EnclosureEyes
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/mark1/mouth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""

from mycroft.deprecated.enclosure.mark1.mouth import *
from mycroft.deprecated.enclosure.mark1.mouth import EnclosureMouth
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/mark2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""

from mycroft.deprecated.enclosure.mark2 import *
from mycroft.deprecated.enclosure.mark2 import EnclosureMark2
4 changes: 2 additions & 2 deletions mycroft/configuration/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# backwards compat - moved to own python package
from ovos_config.config import *
from ovos_config.locations import *
from ovos_config.config import Configuration, MycroftUserConfig, MycroftDefaultConfig, MycroftSystemConfig, RemoteConf, LocalConf
from ovos_config.locations import OLD_USER_CONFIG, DEFAULT_CONFIG, SYSTEM_CONFIG, REMOTE_CONFIG, USER_CONFIG, WEB_CONFIG_CACHE

2 changes: 1 addition & 1 deletion mycroft/configuration/locale.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# backwards compat - moved to own python package
from ovos_config.locale import *
from ovos_config.locale import setup_locale, set_default_tz, set_default_lang, set_default_lf_lang, load_language, load_languages, get_default_lang, get_default_tz, get_config_tz, get_primary_lang_code
2 changes: 1 addition & 1 deletion mycroft/configuration/locations.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# backwards compat - moved to own python package
from ovos_config.locations import *
from ovos_config.locations import DEFAULT_CONFIG, OLD_USER_CONFIG, SYSTEM_CONFIG, REMOTE_CONFIG, USER_CONFIG, WEB_CONFIG_CACHE
Loading

0 comments on commit c9f1d05

Please sign in to comment.