* Fixed reference
Previous reference didn't link to anywhere, and now it links to the
dev-install page.
* Added link for example usage
As discussed in the issue #3493, when calling this method from the
python script, it has to be scheduled to the next clock cycle.
* Update kivy/uix/tabbedpanel.py
Co-authored-by: matham <moiein2000@gmail.com>
Co-authored-by: matham <moiein2000@gmail.com>
* FIX: Disable `KIVY_NO_ARGS` depending on its value
This fix enables the environment value `KIVY_NO_ARGS` to be present but still
not disabling kivy cli parsing.
Before this, kivy only checked for `KIVY_NO_ARGS` environment variable to be
existent, wihout checking its value. Setting it to a "falsy" value (eg 0,
"false", etc) would still disable cli arg parsing, which is could be
misleading.
With this fix, only setting it to one of ('true', '1', 'yes') actually
disables it.
* TEST: passing unit tests
Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>
* implemented suggestions
* updated patchenv func
* added `KIVY_ENVS_TO_EXCLUDE = ('KIVY_UNITTEST', 'KIVY_PACKAGING')` because `__init__.py` treats them equal.
* removed remanent lower
* FIX: web edit typos
Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>
* PEP8
Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>
* FMT: auto (black) + unused imports
Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>
* PEP8
Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>
* FIX: nonzero exit on subprocess import
Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>
* Update kivy/tests/test_environ_cli.py
Co-authored-by: matham <moiein2000@gmail.com>
* Update kivy/tests/test_environ_cli.py
Co-authored-by: matham <moiein2000@gmail.com>
Co-authored-by: matham <moiein2000@gmail.com>
* Add pre-commit hooks for basic standards conformity checking
* These should not be marked as executable
* These lack shebangs so marking them executable did not do anyone any good
* add pre-commit to dev requirements
* use pre-commit framework for the hook
* Move the pre-commit config outside of root
As discusses in https://github.com/kivy/kivy/pull/7176#discussion_r511240059
* Document that pre-commit is used and how to skip checks if needed
* Mark the old hook script as deprecated
* logger fix
* pep
* encoding, test
* black
* mock locale
* fix
* tests / encoding as param
* less 한국어
* improve documentation for kv lang
* link?
* link mod properly
* Added 'KIVY_SDL_GL_ALPHA_SIZE' environmental variable, so X11 is not required when using SDL2 in a headless environment
Thanks to @ddimensia for figuring it out
* Updated the installation instructions for Raspberry Pi 4 headless installation on Raspbian Buster, as it no longer requires X11 to be installed
* Automatically set the SDL_GL_ALPHA_SIZE to 0 when running on a Raspberry Pi
* Set 'KIVY_SDL_GL_ALPHA_SIZE=0' when building using the CI, so cross compiling of the wheels works
* Make sure KIVY_SDL_GL_ALPHA_SIZE is an int
* Cross compile wheel for armv7l (Raspberry Pi 4) using Github Actions CI
Fixes#6567
* Added instruction on how to install Kivy on a Raspberry Pi 4
* Do not package the examples in the wheel
* We can not upload armv7l wheels to PyPI
* Remove all references to KivyPie
* Merge the installations instructions for Raspberry Pi's together
* Build the armv7l wheel on Stretch as well
* Create a copy of the wheel with a armv6l suffix
* The wheels are Raspberry Pi specific