8000 Added PYTHONNOUSERSITE env in PythonRecipe · loaf/python-for-android@e3650d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit e3650d7

Browse files
committed
Added PYTHONNOUSERSITE env in PythonRecipe
1 parent 37c6d9d commit e3650d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonforandroid/recipe.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,9 @@ def folder_name(self):
774774

775775
def get_recipe_env(self, arch=None, with_flags_in_cc=True):
776776
env = super(PythonRecipe, self).get_recipe_env(arch, with_flags_in_cc)
777+
778+
env['PYTHONNOUSERSITE'] = '1'
779+
777780
if not self.call_hostpython_via_targetpython:
778781
hppath = []
779782
hppath.append(join(dirname(self.hostpython_location), 'Lib'))

0 commit comments

Comments
 (0)
0