mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 17:13:57 +00:00
Fix SSL errors in Windows 7
This commit is contained in:
12
appveyor.yml
12
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
|
||||
|
||||
@@ -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=[],
|
||||
|
||||
Reference in New Issue
Block a user