Add pyinstaller script for server
This commit is contained in:
parent
3f910ebcba
commit
60ad434066
@ -21,7 +21,8 @@ init:
|
|||||||
install:
|
install:
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%
|
- cd %APPVEYOR_BUILD_FOLDER%
|
||||||
- for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a
|
- 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
|
- python buildInstaller.py
|
||||||
- copy Syncplay-%ver%-Setup.exe Syncplay-%ver%-Setup-Py35.exe
|
- copy Syncplay-%ver%-Setup.exe Syncplay-%ver%-Setup-Py35.exe
|
||||||
- type nul > dist\syncplay.ini
|
- type nul > dist\syncplay.ini
|
||||||
|
|||||||
@ -6,11 +6,11 @@ workdir = os.getcwd()
|
|||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(['syncplayClient.py'],
|
a = Analysis(['syncplayServer.py'],
|
||||||
pathex=[workdir],
|
pathex=[workdir],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('resources/*', 'resources')],
|
datas=[('resources/*', 'resources')],
|
||||||
hiddenimports=['PySide2', 'PySide2.QtCore', 'PySide2.QtWidgets'],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[],
|
||||||
@ -29,5 +29,4 @@ exe = EXE(pyz,
|
|||||||
strip=False,
|
strip=False,
|
||||||
upx=False,
|
upx=False,
|
||||||
runtime_tmpdir=None,
|
runtime_tmpdir=None,
|
||||||
console=False,
|
console=True)
|
||||||
icon='resources/icon.ico')
|
|
||||||
Loading…
x
Reference in New Issue
Block a user