18 lines
479 B
Python
18 lines
479 B
Python
from application import Application
|
|
from cpl.application import ApplicationBuilder
|
|
from test_extension import TestExtension
|
|
from startup import Startup
|
|
from test_startup_extension import TestStartupExtension
|
|
|
|
|
|
def main():
|
|
app_builder = ApplicationBuilder(Application)
|
|
app_builder.with_startup(Startup)
|
|
app_builder.with_extension(TestStartupExtension)
|
|
app_builder.with_extension(TestExtension)
|
|
app_builder.build().run()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|