1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-07-27 17:08:21 +00:00
packaging/pyinstaller-hooks/rthook_ssl.py
Jonathan Springer 3bd987ffcf Show PyInstaller DEBUG output when run with verbose option.
Use debug bootloader when building devel version.
Add ssl hook and runtime hook to include certificates for Mac OS X(OS X).
Fix release app version(OS X).
Fix converting bytes to megabytes(OS X).
Fix argument to cp command(OS X).
2015-08-23 20:53:43 -04:00

6 lines
172 B
Python

import os
import sys
if sys.platform == 'darwin': # TODO check if this is needed on linux
os.environ['SSL_CERT_FILE'] = os.path.join(sys._MEIPASS, 'lib', 'cert.pem')