Try to workaround a mysql-connector install issue.

This commit is contained in:
Tomas Groth 2017-09-25 21:35:52 +02:00
parent e53703bea8
commit de1a2c6d2e
1 changed files with 5 additions and 1 deletions

View File

@ -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