include cert.pem for SSL verification in frozen builds and update build process to handle CA bundles
This commit is contained in:
+6
-1
@@ -8,7 +8,12 @@ here = Path(__file__).resolve().parent
|
||||
project_root = here
|
||||
|
||||
# Prepare datas and binaries lists; include icon resources
|
||||
datas = [(str(project_root / 'icon'), 'icon'), (str(project_root / 'icon' / 'icon1.png'), 'icon')]
|
||||
datas = [
|
||||
(str(project_root / 'icon'), 'icon'),
|
||||
(str(project_root / 'icon' / 'icon1.png'), 'icon'),
|
||||
# include user-supplied CA bundle if present so frozen app can use it
|
||||
(str(project_root / 'cert.pem'), '.')
|
||||
]
|
||||
binaries = []
|
||||
|
||||
# Try to include pythonnet runtime DLLs so Python.Runtime.dll is available
|
||||
|
||||
Reference in New Issue
Block a user