mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 516984 Allow mozmill unit test to work on windows a=NPOTB r=ctalbert
This commit is contained in:
parent
d409dac16c
commit
550c921a7a
@ -79,7 +79,10 @@ def main(args=None):
|
||||
env = os.environ.copy()
|
||||
env.pop('PYTHONHOME', None)
|
||||
call([sys.executable, 'virtualenv/virtualenv.py', destination], env=env)
|
||||
pip = os.path.join(destination, 'bin', 'pip')
|
||||
if sys.platform.startswith('win'):
|
||||
pip = os.path.join(destination, 'Scripts', 'pip.exe')
|
||||
else:
|
||||
pip = os.path.join(destination, 'bin', 'pip')
|
||||
call([pip, 'install'] + PACKAGES, env=env)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user