|
@@ -229,7 +229,7 @@ def execute(appdir, name=None, python_version=None, linux_tag=None,
|
|
|
# Bundle the requirements
|
|
# Bundle the requirements
|
|
|
if requirements_list:
|
|
if requirements_list:
|
|
|
deprecation = 'DEPRECATION: Python 2.7 reached the end of its life'
|
|
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)
|
|
'--no-warn-script-location', 'pip'), exclude=deprecation)
|
|
|
for requirement in requirements_list:
|
|
for requirement in requirements_list:
|
|
|
if requirement.startswith('git+'):
|
|
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:])
|
|
log('BUNDLE', name + ' from ' + url[4:])
|
|
|
else:
|
|
else:
|
|
|
log('BUNDLE', requirement)
|
|
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),
|
|
'--no-warn-script-location', requirement),
|
|
|
exclude=(deprecation, ' Running command git clone -q'))
|
|
exclude=(deprecation, ' Running command git clone -q'))
|
|
|
|
|
|