Install PyInstaller from pypi and use a dev version of packaging.

This commit is contained in:
Tomas Groth 2017-09-25 22:03:40 +02:00
parent 1481f747f1
commit 38ec3fbd96

View File

@ -12,7 +12,7 @@ environment:
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"
- "%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 PyInstaller"
# Install mysql dependency
- 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
@ -43,10 +43,10 @@ test_script:
after_test:
# This is where we create a package using PyInstaller
# First get PyInstaller
- appveyor DownloadFile https://github.com/pyinstaller/pyinstaller/releases/download/v3.3/PyInstaller-3.3.zip
- 7z x PyInstaller-3.3.zip
#- appveyor DownloadFile https://github.com/pyinstaller/pyinstaller/releases/download/v3.3/PyInstaller-3.3.zip
#- 7z x PyInstaller-3.3.zip
# Install PyInstaller dependencies
- "%PYTHON%\\python.exe -m pip install future pefile"
#- "%PYTHON%\\python.exe -m pip install future pefile"
# Download and install Inno Setup - used for packaging
- appveyor DownloadFile http://www.jrsoftware.org/download.php/is-unicode.exe
- is-unicode.exe /VERYSILENT /SUPPRESSMSGBOXES /SP-
@ -61,10 +61,12 @@ after_test:
# - curl -L -O http://downloads.sourceforge.net/project/portableapps/NSIS%20Portable/NSISPortable_3.0_English.paf.exe
# - NSISPortable_3.0_English.paf.exe /S
# Get the packaging code
- appveyor DownloadFile http://bazaar.launchpad.net/~openlp-core/openlp/packaging/tarball -FileName packaging.tar.gz
#- appveyor DownloadFile http://bazaar.launchpad.net/~openlp-core/openlp/packaging/tarball -FileName packaging.tar.gz
- appveyor DownloadFile http://bazaar.launchpad.net/~tomasgroth/openlp/packaging-webengine/tarball -FileName packaging.tar.gz
- 7z e packaging.tar.gz
- 7z x packaging.tar
- mv ~openlp-core/openlp/packaging packaging
#- mv ~openlp-core/openlp/packaging packaging
- mv ~tomasgroth/openlp/packaging-webenging packaging
# If this is trunk we should also build the manual
- ps: >-
If (BUILD_DOCS) {