Fix SSL errors in Windows 7

This commit is contained in:
Sambhav Kothari
2018-01-29 03:08:42 +05:30
parent d7acd638ca
commit e82c2bc573
2 changed files with 15 additions and 4 deletions

View File

@@ -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

View File

@@ -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=[],