From a9e051f5cb5d26362893cab06453f1b9ac55fef8 Mon Sep 17 00:00:00 2001 From: Andy Kipp Date: Mon, 3 May 2021 10:31:01 +0300 Subject: [PATCH] Fix #31 --- python_appimage/commands/build/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_appimage/commands/build/app.py b/python_appimage/commands/build/app.py index 9c7f591..5ba68ef 100644 --- a/python_appimage/commands/build/app.py +++ b/python_appimage/commands/build/app.py @@ -229,7 +229,7 @@ def execute(appdir, name=None, python_version=None, linux_tag=None, # Bundle the requirements if requirements_list: deprecation = 'DEPRECATION: Python 2.7 reached the end of its life' - system(('./AppDir/AppRun', '-m', 'pip', 'install', '-U', + system(('./AppDir/AppRun', '-m', 'pip', 'install', '-U', '--use-feature=in-tree-build', '--no-warn-script-location', 'pip'), exclude=deprecation) for requirement in requirements_list: if requirement.startswith('git+'): @@ -237,7 +237,7 @@ def execute(appdir, name=None, python_version=None, linux_tag=None, log('BUNDLE', name + ' from ' + url[4:]) else: log('BUNDLE', requirement) - system(('./AppDir/AppRun', '-m', 'pip', 'install', '-U', + system(('./AppDir/AppRun', '-m', 'pip', 'install', '-U', '--use-feature=in-tree-build', '--no-warn-script-location', requirement), exclude=(deprecation, ' Running command git clone -q'))