diff options
Diffstat (limited to 'lib/python/qmk/constants.py')
-rw-r--r-- | lib/python/qmk/constants.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/python/qmk/constants.py b/lib/python/qmk/constants.py new file mode 100644 index 000000000..3e4709969 --- /dev/null +++ b/lib/python/qmk/constants.py | |||
@@ -0,0 +1,9 @@ | |||
1 | """Information that should be available to the python library. | ||
2 | """ | ||
3 | from pathlib import Path | ||
4 | |||
5 | # The root of the qmk_firmware tree. | ||
6 | QMK_FIRMWARE = Path.cwd() | ||
7 | |||
8 | # This is the number of directories under `qmk_firmware/keyboards` that will be traversed. This is currently a limitation of our make system. | ||
9 | MAX_KEYBOARD_SUBFOLDERS = 5 | ||