forked from openlp/openlp
Install PyInstaller from pypi and use a dev version of packaging.
This commit is contained in:
parent
1481f747f1
commit
38ec3fbd96
@ -12,7 +12,7 @@ environment:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
# Install dependencies from pypi
|
# 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
|
# Install mysql dependency
|
||||||
- appveyor DownloadFile http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.7.zip
|
- 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
|
- 7z x mysql-connector-python-2.1.7.zip
|
||||||
@ -43,10 +43,10 @@ test_script:
|
|||||||
after_test:
|
after_test:
|
||||||
# This is where we create a package using PyInstaller
|
# This is where we create a package using PyInstaller
|
||||||
# First get PyInstaller
|
# First get PyInstaller
|
||||||
- appveyor DownloadFile https://github.com/pyinstaller/pyinstaller/releases/download/v3.3/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
|
#- 7z x PyInstaller-3.3.zip
|
||||||
# Install PyInstaller dependencies
|
# 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
|
# Download and install Inno Setup - used for packaging
|
||||||
- appveyor DownloadFile http://www.jrsoftware.org/download.php/is-unicode.exe
|
- appveyor DownloadFile http://www.jrsoftware.org/download.php/is-unicode.exe
|
||||||
- is-unicode.exe /VERYSILENT /SUPPRESSMSGBOXES /SP-
|
- 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
|
# - curl -L -O http://downloads.sourceforge.net/project/portableapps/NSIS%20Portable/NSISPortable_3.0_English.paf.exe
|
||||||
# - NSISPortable_3.0_English.paf.exe /S
|
# - NSISPortable_3.0_English.paf.exe /S
|
||||||
# Get the packaging code
|
# 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 e packaging.tar.gz
|
||||||
- 7z x packaging.tar
|
- 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
|
# If this is trunk we should also build the manual
|
||||||
- ps: >-
|
- ps: >-
|
||||||
If (BUILD_DOCS) {
|
If (BUILD_DOCS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user