diff --git a/python_appimage/commands/build/app.py b/python_appimage/commands/build/app.py index be8ed58..1fc487d 100644 --- a/python_appimage/commands/build/app.py +++ b/python_appimage/commands/build/app.py @@ -229,7 +229,12 @@ def execute(appdir, name=None, python_version=None, linux_tag=None, # Bundle the requirements if requirements_list: in_tree_build = '' if version <= '3.5' else '--use-feature=in-tree-build' - deprecation = 'DEPRECATION: Python 2.7 reached the end of its life' + + deprecation = ( + 'DEPRECATION: Python 2.7 reached the end of its life', + 'DEPRECATION: Python 3.5 reached the end of its life' + ) + system(('./AppDir/AppRun', '-m', 'pip', 'install', '-U', in_tree_build, '--no-warn-script-location', 'pip'), exclude=deprecation) for requirement in requirements_list: