From d35f0efdb285e87511d7a3822b12db11decde801 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 9 May 2023 20:29:46 +0200 Subject: [PATCH] Hello World --- hello_world.py | 16 ++++++++++++++++ requirements.txt | 5 +++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 hello_world.py diff --git a/hello_world.py b/hello_world.py new file mode 100644 index 0000000..ca22bf4 --- /dev/null +++ b/hello_world.py @@ -0,0 +1,16 @@ +#/usr/bin/env python3 +# -*- coding: utf-8 -*- +from kivy.app import App +from kivy.uix.label import Label + +class MainApp(App): + def build(self): + label = Label(text='Hello World!', + size_hint=(.5, .5), + pos_hint={'center_x': .5, 'center_y': .5}) + + return label + +if __name__ == '__main__': + app = MainApp() + app.run() diff --git a/requirements.txt b/requirements.txt index 31717f5..439295d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ - packaging - pygame +packaging +pygame +buildozer