diff --git a/appveyor.yml b/appveyor.yml index 91fcf2089..28ffb1e0a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,10 +25,14 @@ build_script: - cmd: >- appveyor DownloadFile https://github.com/acoustid/chromaprint/releases/download/v%CHROMAPRINT_FPCALC_VERSION%/chromaprint-fpcalc-%CHROMAPRINT_FPCALC_VERSION%-windows-i686.zip -FileName fpcalc.zip + appveyor DownloadFile https://indy.fulgan.com/SSL/openssl-%OPENSSL_VERSION%-x64_86-win64.zip -FileName openssl.zip + 7z x fpcalc.zip -y copy /Y chromaprint-fpcalc-%CHROMAPRINT_FPCALC_VERSION%-windows-i686\fpcalc.exe %PYTHON% + 7z x openssl.zip -y + pip install pyqt5 mutagen pyinstaller python setup.py build @@ -36,7 +40,11 @@ build_script: python setup.py test -v pyinstaller picard.spec + + copy /Y ssleay32.dll dist + + copy /Y libeay32.dll dist + artifacts: -- path: build\picard -- path: dist/*.exe +- path: dist deploy: off diff --git a/picard.spec b/picard.spec index bf321f016..298f5ba1f 100644 --- a/picard.spec +++ b/picard.spec @@ -3,6 +3,7 @@ import os import glob + def _picard_get_locale_files(): locales = [] path_domain = { @@ -26,13 +27,15 @@ def get_locale_messages(): os.path.join("locale", locale[1], "LC_MESSAGES"))) return data_files -block_cipher = None +block_cipher = None +data_files = get_locale_messages() + a = Analysis(['tagger.py'], pathex=['picard'], binaries=[], - datas=get_locale_messages(), + datas=data_files, hiddenimports=[], hookspath=[], runtime_hooks=[],