-
Notifications
You must be signed in to change notification settings - Fork 0
/
kivy-reloader.toml
101 lines (80 loc) · 2.87 KB
/
kivy-reloader.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[kivy_reloader]
# The IP address of your phone; You can hot-reload how many phones you want.
# use "127.0.0.1" if you are using Android emulator.
PHONE_IPS = ["192.168.1.68"]
# If true, it's going to send the app to smartphone every time you press Ctrl+S
HOT_RELOAD_ON_PHONE = false
# You can stream using "USB" or "WIFI"
# If your USB cable is connected, use "USB", otherwise use "WIFI"
# To use WIFI, you need connect your phone to the same network as your computer
STREAM_USING = "USB"
# The port where the server will be listening
# It can be any port
PORT = 5555
# Add the files that will cause the app to live reload (restart) when changed
FULL_RELOAD_FILES = ["main.py", "delivery_app/__init__.py"]
# Add the python files you want to watch here, i.e., if they change, the app will hot reload
WATCHED_FILES = []
# Add the folders you want to watch recursively here, i.e., if **ANY FILE** inside them changes, the app will hot reload
WATCHED_FOLDERS_RECURSIVELY = ["delivery_app"]
# Watched folders but not recursively, i.e., **ANY FILE** inside the first level of the folder will trigger a hot reload if changed
WATCHED_FOLDERS = []
# If you do not want to watch some files or folders, add them here.
# You can add the path to a file/folder or a pattern
DO_NOT_WATCH_PATTERNS = ["*.pyc", "*__pycache__*"]
# If you want to logcat services, put here the name of each service
# For example, ["MyService", "MyOtherService"]
SERVICE_NAMES = []
# If you want to restart your app when your services change, put the relative path of the service files here
# For example, ["service.py", "service2.py"]
SERVICE_FILES = []
# If you want to exclude some files or folders, from being copied to the phone, add them here
FOLDERS_AND_FILES_TO_EXCLUDE_FROM_PHONE = [
"*.pyc",
"__pycache__",
".buildozer",
".venv",
".vscode",
".git",
".pytest_cache",
".DS_Store",
".env",
".dmypy.json",
".mypy_cache/",
".dmypy.json",
"dmypy.json",
"env/",
"ENV/",
"env.bak/",
"venv/",
"venv.bak/",
"bin",
"dist",
"buildozer.spec",
"poetry.lock",
"pyproject.toml",
"temp",
"tests",
"app_copy.zip",
"send_app_to_phone.py",
".gitignore",
"README.md",
]
# The X position of the window generated by scrcpy
WINDOW_X = "1200"
# The Y position of the window generated by scrcpy
WINDOW_Y = "100"
# The width of the window generated by scrcpy
WINDOW_WIDTH = "280"
# The title of the window generated by scrcpy
WINDOW_TITLE = "Kivy Reloader"
# If you want to show the touches on the screen, set this to True
SHOW_TOUCHES = false
# If you want the screen to be always on, set this to True
STAY_AWAKE = false
# If you want to turn the screen off, set this to True
TURN_SCREEN_OFF = false
# If you want the window to be always on top, set this to True
ALWAYS_ON_TOP = true
# If you want to turn the audio off, set this to True
NO_AUDIO = true