wasp: apps: Remove __init__.py
wasp-os contains circular import dependancies (wasp includes apps which include wasp) but this is normally harmless. However using __init__.py exagerated to the problem and since the benefit of the __init__ file is pretty anyway the let's just remove it.
This commit is contained in:
parent
399b956eb5
commit
a4c62bb818
3 changed files with 7 additions and 13 deletions
|
@ -1,11 +0,0 @@
|
|||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
# Copyright (C) 2020 Daniel Thompson
|
||||
"""All the apps... in one place"""
|
||||
|
||||
from apps.clock import ClockApp
|
||||
from apps.flashlight import FlashlightApp
|
||||
from apps.launcher import LauncherApp
|
||||
from apps.pager import PagerApp, CrashApp
|
||||
from apps.settings import SettingsApp
|
||||
from apps.stopwatch import StopwatchApp
|
||||
from apps.testapp import TestApp
|
|
@ -4,7 +4,6 @@
|
|||
freeze('.', 'watch.py', opt=3)
|
||||
freeze('../..',
|
||||
(
|
||||
'apps/__init__.py',
|
||||
'apps/clock.py',
|
||||
'apps/flashlight.py',
|
||||
'apps/launcher.py',
|
||||
|
|
|
@ -13,7 +13,13 @@ import machine
|
|||
import watch
|
||||
import widgets
|
||||
|
||||
from apps import *
|
||||
from apps.clock import ClockApp
|
||||
from apps.flashlight import FlashlightApp
|
||||
from apps.launcher import LauncherApp
|
||||
from apps.pager import PagerApp, CrashApp
|
||||
from apps.settings import SettingsApp
|
||||
from apps.stopwatch import StopwatchApp
|
||||
from apps.testapp import TestApp
|
||||
|
||||
class EventType():
|
||||
"""Enumerated interface actions.
|
||||
|
|
Loading…
Reference in a new issue