appveyor: fixup

This commit is contained in:
Cosimo Lupo 2018-07-25 19:06:20 +01:00
parent b88caadb8f
commit 7b4a9e3b58
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -40,7 +40,7 @@ install:
# it and 'pythonX.X' will mean what we want it to. E.g. for 'TOXENV=py37',
# this will save a 'python3.7.bat' file containing "@C:\Python27\python %*"
# Credit: https://nedbatchelder.com/blog/201509/appveyor.html
- "python -c \"import os; open('python{0}.{1}.bat'.format(*os.environ['TOXENV'][2:4]), 'w').write('@{0}\\\\python \\x25*\\n'.format(os.environ['PYTHON']))\""
- "python -c \"import os; open('python{0}.{1}.bat'.format(*os.environ['TOXENV'][2:4]), 'w').write('@{0}\\\\python \\x25*\\n'.format(os.environ['PYTHON_HOME']))\""
build: false