Disable --onefile and change packed dir name

This commit is contained in:
albertosottile 2018-04-27 21:20:57 +02:00
parent 7df01104bf
commit c4e912a2d5
3 changed files with 6 additions and 8 deletions

View File

@ -21,10 +21,10 @@ init:
install:
- cd %APPVEYOR_BUILD_FOLDER%
- for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a
- pyinstaller pyinstaller-onefile.spec
- move dist\Syncplay.exe Syncplay-%ver%-win-Py35-PySide2.exe
- del build /s /Q
- del dist /s /Q
#- pyinstaller pyinstaller-onefile.spec
#- move dist\Syncplay.exe Syncplay-%ver%-win-Py35-PySide2.exe
#- del build /s /Q
#- del dist /s /Q
- pyinstaller pyinstaller-onedir.spec
- cd dist
- python buildInstaller.py

View File

@ -41,7 +41,7 @@ def get_nsis_path():
return bin_name
NSIS_COMPILE = get_nsis_path()
OUT_DIR = "syncplay_v{}".format(syncplay.version)
OUT_DIR = "Syncplay"
SETUP_SCRIPT_PATH = "syncplay_setup.nsi"
NSIS_SCRIPT_TEMPLATE = r"""
!include LogicLib.nsh

View File

@ -3,8 +3,6 @@
import os
workdir = os.getcwd()
import syncplay
block_cipher = None
@ -36,4 +34,4 @@ coll = COLLECT(exe,
a.datas,
strip=False,
upx=True,
name="syncplay_v{}".format(syncplay.version))
name="Syncplay")