Add pyinstaller script for server

This commit is contained in:
albertosottile 2018-05-31 16:59:56 +02:00
parent 3f910ebcba
commit 60ad434066
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,8 @@ init:
install:
- cd %APPVEYOR_BUILD_FOLDER%
- for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a
- pyinstaller pyinstaller-onedir.spec
- pyinstaller pyinstaller-client.spec
- pyinstaller pyinstaller-server.spec
- python buildInstaller.py
- copy Syncplay-%ver%-Setup.exe Syncplay-%ver%-Setup-Py35.exe
- type nul > dist\syncplay.ini

View File

@ -6,11 +6,11 @@ workdir = os.getcwd()
block_cipher = None
a = Analysis(['syncplayClient.py'],
a = Analysis(['syncplayServer.py'],
pathex=[workdir],
binaries=[],
datas=[('resources/*', 'resources')],
hiddenimports=['PySide2', 'PySide2.QtCore', 'PySide2.QtWidgets'],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
@ -29,5 +29,4 @@ exe = EXE(pyz,
strip=False,
upx=False,
runtime_tmpdir=None,
console=False,
icon='resources/icon.ico')
console=True)