1
0
Fork 0

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.
pull/24/head
Daniel Thompson 2020-05-10 09:33:26 +01:00
parent 399b956eb5
commit a4c62bb818
3 changed files with 7 additions and 13 deletions

View File

@ -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

View File

@ -4,7 +4,6 @@
freeze('.', 'watch.py', opt=3)
freeze('../..',
(
'apps/__init__.py',
'apps/clock.py',
'apps/flashlight.py',
'apps/launcher.py',

View File

@ -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.