generated from me/template-mit
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbee2daf12 |
No files matched your search
@@ -1,3 +1,17 @@
|
|||||||
# template-mit
|
# Hello World Kivy
|
||||||
|
|
||||||
Template with MIT license, protected `main` branch, and available `dev` branch.
|
A minimal Kivy application that displays "Hello, World!" — built for Linux Desktop and Android.
|
||||||
|
|
||||||
|
## Linux Desktop
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
|
python main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## Android
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install buildozer
|
||||||
|
buildozer android debug deploy run
|
||||||
|
```
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
from kivy.app import App
|
||||||
|
from kivy.uix.label import Label
|
||||||
|
|
||||||
|
|
||||||
|
class HelloWorldApp(App):
|
||||||
|
def build(self):
|
||||||
|
return Label(text="Hello, World!", font_size=48)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
HelloWorldApp().run()
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
kivy
|
||||||
Reference in new issue
Block a user