Skip to content

Commit 50affc8

Browse files
authored
Merge pull request #2160 from AndreMiras/feature/fixes_sh_module_expect_dict
Fixes sh `_env` should be a dictionary
2 parents 60c624f + e2b9cfe commit 50affc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ def run_pymodules_install(ctx, modules, project_dir=None,
764764
shprint(host_python, '-m', 'venv', 'venv')
765765

766766
# Prepare base environment and upgrade pip:
767-
base_env = copy.copy(os.environ)
767+
base_env = dict(copy.copy(os.environ))
768768
base_env["PYTHONPATH"] = ctx.get_site_packages_dir()
769769
info('Upgrade pip to latest version')
770770
shprint(sh.bash, '-c', (

0 commit comments

Comments
 (0)