diff --git a/changes/2430.feature.rst b/changes/2430.feature.rst new file mode 100644 index 0000000000..6a077bd63c --- /dev/null +++ b/changes/2430.feature.rst @@ -0,0 +1 @@ +Create Kivy Bootstrap diff --git a/src/briefcase/commands/create.py b/src/briefcase/commands/create.py index 6d9dab64b8..937e85ec72 100644 --- a/src/briefcase/commands/create.py +++ b/src/briefcase/commands/create.py @@ -623,6 +623,10 @@ def _pip_install( encoding="UTF-8", **pip_kwargs, ) + + # move kivy share deps to briefcase default sys.prefix + if self.platform.lower() == "window" and "kivy" in pip_args: + shutil.move(app_packages_path / "share", app_packages_path.parent) except subprocess.CalledProcessError as e: raise RequirementsInstallError(install_hint=install_hint) from e