fix some dependencies installation by updating pip in virtualenv

This commit is contained in:
n1nj4sec 2018-11-13 19:59:50 +01:00
parent e496a83b25
commit ff0f85ddf4
1 changed files with 7 additions and 0 deletions

View File

@ -93,6 +93,13 @@ def main():
virtualenv.create_environment(workdir)
print "[+] Update pip version ..."
subprocess.check_call([
os.path.join(workdir, 'bin', 'pip'),
'install',
'--upgrade', 'pip'
], cwd=os.path.join(pupy, 'pupy'))
print "[+] Install dependencies"
subprocess.check_call([
os.path.join(workdir, 'bin', 'pip'),