From de1a2c6d2e4589867e4fdf8ea7f1139772fa5757 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 25 Sep 2017 21:35:52 +0200 Subject: [PATCH] Try to workaround a mysql-connector install issue. --- scripts/appveyor.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/appveyor.yml b/scripts/appveyor.yml index fb2721158..5aa1dba84 100644 --- a/scripts/appveyor.yml +++ b/scripts/appveyor.yml @@ -14,7 +14,11 @@ install: # Install dependencies from pypi - "%PYTHON%\\python.exe -m pip install sqlalchemy alembic chardet beautifulsoup4 Mako nose mock pyodbc psycopg2 pypiwin32 pyenchant websockets asyncio waitress six webob requests pyqt5 lxml" # Install mysql dependency - - "%PYTHON%\\python.exe -m pip install http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.7.zip#md5=6e3f27535ab4390717f29583ed3249cd" + - appveyor DownloadFile http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.7.zip + - 7z x mysql-connector-python-2.1.7.zip + - cd mysql-connector-python-2.1.7 + - "%PYTHON%\\python.exe setup.py install" + #- "%PYTHON%\\python.exe -m pip install http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.7.zip#md5=6e3f27535ab4390717f29583ed3249cd" # Download and install lxml and pyicu (originally from http://www.lfd.uci.edu/~gohlke/pythonlibs/) - "%PYTHON%\\python.exe -m pip install https://get.openlp.org/win-sdk/PyICU-1.9.7-cp36-cp36m-win32.whl" # Download and unpack mupdf