appveyor: Install pip/tox from requirements files
This commit is contained in:
parent
f4ce199968
commit
a987b714de
@ -43,6 +43,11 @@ def check_setup(executable):
|
|||||||
subprocess.check_call([executable, '--version'])
|
subprocess.check_call([executable, '--version'])
|
||||||
|
|
||||||
|
|
||||||
|
def pip_install(pkg):
|
||||||
|
subprocess.check_call([r'C:\Python34\python', '-m', 'pip', 'install', '-U',
|
||||||
|
pkg])
|
||||||
|
|
||||||
|
|
||||||
print("Getting PyQt5...")
|
print("Getting PyQt5...")
|
||||||
qt_version = '5.5.1'
|
qt_version = '5.5.1'
|
||||||
pyqt_version = '5.5.1'
|
pyqt_version = '5.5.1'
|
||||||
@ -61,9 +66,8 @@ print("Installing PyQt5...")
|
|||||||
subprocess.check_call([r'C:\install-PyQt5.exe', '/S'])
|
subprocess.check_call([r'C:\install-PyQt5.exe', '/S'])
|
||||||
|
|
||||||
print("Installing pip/tox")
|
print("Installing pip/tox")
|
||||||
subprocess.check_call([r'C:\Python34\python', '-m', 'pip', 'install', '-U',
|
pip_install(r'scripts\dev\ci\requirements-pip.txt')
|
||||||
'pip'])
|
pip_install(r'scripts\dev\ci\requirements-tox.txt')
|
||||||
subprocess.check_call([r'C:\Python34\Scripts\pip', 'install', '-U', 'tox'])
|
|
||||||
|
|
||||||
print("Linking Python...")
|
print("Linking Python...")
|
||||||
with open(r'C:\Windows\system32\python3.bat', 'w') as f:
|
with open(r'C:\Windows\system32\python3.bat', 'w') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user