|
@@ -16,8 +16,7 @@ for python >= 3.7, see:
|
|
class PluginImpl(plugins.python.PythonPlugin):
|
|
class PluginImpl(plugins.python.PythonPlugin):
|
|
def get_build_commands(self) -> List[str]:
|
|
def get_build_commands(self) -> List[str]:
|
|
cmds = super().get_build_commands()
|
|
cmds = super().get_build_commands()
|
|
- cmds.insert(1, 'pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip')
|
|
|
|
- print(cmds)
|
|
|
|
|
|
+ # cmds.insert(1, 'pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip')
|
|
for idx, cmd in enumerate(cmds):
|
|
for idx, cmd in enumerate(cmds):
|
|
# Find position where to inject pip uninstall
|
|
# Find position where to inject pip uninstall
|
|
if cmd.strip().startswith('[ -f setup.py ]'):
|
|
if cmd.strip().startswith('[ -f setup.py ]'):
|