Skip to content

Commit 0f26b75

Browse files
committed
no shebang patching required now
1 parent d69ec31 commit 0f26b75

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

pythonforandroid/recipe.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -977,11 +977,7 @@ def get_recipe_env(self, arch=None, with_flags_in_cc=True):
977977
# Set the LANG, this isn't usually important but is a better default
978978
# as it occasionally matters how Python e.g. reads files
979979
env['LANG'] = "en_GB.UTF-8"
980-
981-
# Binaries made by packages installed by pip
982-
self.patch_shebangs(self._host_recipe.local_bin, self._host_recipe.python_exe)
983980
env["PATH"] = self._host_recipe.local_bin + ":" + self._host_recipe.site_bin + ":" + env["PATH"]
984-
985981
host_env = self.get_hostrecipe_env(arch)
986982
env['PYTHONPATH'] = host_env["PYTHONPATH"]
987983

@@ -1382,7 +1378,6 @@ def build_arch(self, arch):
13821378
self.install_hostpython_prerequisites(
13831379
packages=["build[virtualenv]", "pip", "setuptools", "patchelf"] + self.hostpython_prerequisites
13841380
)
1385-
self.patch_shebangs(self._host_recipe.local_bin, self.real_hostpython_location)
13861381

13871382
env = self.get_recipe_env(arch, with_flags_in_cc=True)
13881383
# make build dir separately

0 commit comments

Comments
 (0)