mirror of https://github.com/n1nj4sec/pupy.git
fix some dependencies installation by updating pip in virtualenv
This commit is contained in:
parent
e496a83b25
commit
ff0f85ddf4
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue