+++ /dev/null
-from .Support import Support
-from .SupportDos import SupportDos
-from .SupportWin31 import SupportWin31
-from .SupportGog import SupportGog
+++ /dev/null
-from .Library import Library
-from .Game import Game
-from .Builder import Builder
-from .Support import Support
from os.path import basename
from sys import stderr
-from Gamiki import Builder, Library
+from gamiki import Builder, Library
parser = ArgumentParser(
description="Game launcher and simple management system."
--- /dev/null
+from .library import Library
+from .game import Game
+from .builder import Builder
+from .support import Support
from pathlib import Path, PurePath
from . import Library, Game
-from .Support import Support, SupportDos, SupportWin31, SupportGog
+from .support import Support, SupportDos, SupportWin31, SupportGog
class Builder:
"""Manage all the resources needed to run games."""
from pathlib import PurePath
-from .Support import Support
-from .Game import Game
+from .support import Support
+from .game import Game
class Library(list[Game]):
"""Manage a library (a folder) of Games."""
--- /dev/null
+from .support import Support
+from .support_dos import SupportDos
+from .support_win31 import SupportWin31
+from .support_gog import SupportGog
from subprocess import run
from shutil import which
-from ..Game import Game
+from ..game import Game
class Support:
programs: dict[str, str] = None
from subprocess import run
from shutil import which
-from . import Support
-from .. import Game
+from . import Support
+from ..game import Game
class SupportDos(Support):
"""Supports DOS games via DosBox."""
from subprocess import run
from shutil import which
-from . import Support
-from .. import Game
+from . import Support
+from ..game import Game
class SupportGog(Support):
"""Supports GoG games via the 'games' docker or natively."""
from subprocess import run
from shutil import which
-from . import Support, SupportDos
-from .. import Game
+from . import Support, SupportDos
+from ..game import Game
class SupportWin31(SupportDos):
"""Supports Windows 3.1 games via DosBox."""