diff --git a/.gitignore b/.gitignore index 24afc13..6391268 100755 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ *.pyc *.qmlc settings.json -.vscode -.idea \ No newline at end of file +.vscode \ No newline at end of file diff --git a/__init__.py b/__init__.py index c561a2c..4626938 100644 --- a/__init__.py +++ b/__init__.py @@ -1,5 +1,7 @@ from adapt.intent import IntentBuilder from mycroft import MycroftSkill, intent_handler +from ovos_utils.process_utils import RuntimeRequirements +from ovos_utils import classproperty class HelloWorldSkill(MycroftSkill): @@ -11,6 +13,18 @@ super().__init__() self.learning = True + @classproperty + def runtime_requirements(self): + return RuntimeRequirements(internet_before_load=False, + network_before_load=False, + gui_before_load=False, + requires_internet=False, + requires_network=False, + requires_gui=False, + no_internet_fallback=True, + no_network_fallback=True, + no_gui_fallback=True) + def initialize(self): """ Perform any final setup needed for the skill here. This function is invoked after the skill is fully constructed and diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..855e4f1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +ovos-utils~=0.0, >=0.0.28a4 +ovos_workshop~=0.0, >=0.0.11a4 \ No newline at end of file