comparison cagou/__init__.py @ 342:89799148f894

core: use classes and factory to handle platform specific behaviours in a generic way
author Goffi <goffi@goffi.org>
date Sat, 04 Jan 2020 16:24:57 +0100
parents 772c170b47a9
children 1a12bbd80943
comparison
equal deleted inserted replaced
341:89b17a841c2f 342:89799148f894
33 # this import must be done after G is created 33 # this import must be done after G is created
34 from .core import cagou_main 34 from .core import cagou_main
35 35
36 def run(): 36 def run():
37 host = G._host = cagou_main.Cagou() 37 host = G._host = cagou_main.Cagou()
38 G.local_platform = cagou_main.local_platform
38 host.run() 39 host.run()