56431b6922
- updates all imports to prefix kivy_ios - adds basic `setup.py` file - adds a simple `toolchain.py` to the root folder for compat Makes it possible to install kivy-ios from PyPI: ``` pip install kivy-ios toolchain --help ``` Note the `rebuild_updated_recipes.py` is expected to fail as we moved all the recipes. This is a working, but unperfect iteration that come with limitations we would address in subsequent pull requests, such as: - the new usage is not yet documented - CI is not testing the source distribution creation and install - Continuous Delivery to PyPI is not in place - `toolchain` binary is a bit too generic name - we're still vendoring things under `tools/`
25 lines
1 KiB
Diff
25 lines
1 KiB
Diff
diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py
|
|
--- Python-3.8.2/Lib/site.py 2020-02-24 22:36:25.000000000 +0100
|
|
+++ Python-3.8.2-new/Lib/site.py 2020-05-01 17:10:43.000000000 +0200
|
|
@@ -458,9 +458,8 @@
|
|
|
|
env = os.environ
|
|
if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env:
|
|
- executable = sys._base_executable = os.environ['__PYVENV_LAUNCHER__']
|
|
- else:
|
|
- executable = sys.executable
|
|
+ print("Ignoring __PYVENV_LAUNCHER__")
|
|
+ executable = sys.executable
|
|
exe_dir, _ = os.path.split(os.path.abspath(executable))
|
|
site_prefix = os.path.dirname(exe_dir)
|
|
sys._home = None
|
|
@@ -487,7 +486,8 @@
|
|
if key == 'include-system-site-packages':
|
|
system_site = value.lower()
|
|
elif key == 'home':
|
|
- sys._home = value
|
|
+ # this is breaking pyconfig.h path detection with venv
|
|
+ print('Ignoring "sys._home = value" override')
|
|
|
|
sys.prefix = sys.exec_prefix = site_prefix
|
|
|