B
B
Braveheart2562015-10-13 11:15:01
Python
Braveheart256, 2015-10-13 11:15:01

How to set correct paths to ssl.get_default_verify_paths() when building python app on Mac OS using py2app?

Good afternoon everyone. There is a python application that uses urllib2other standard libraries.
Using py2app, I decided to build the app on Mac OS.
Actually, the app itself is built correctly and works on the machine where it was built.
If you install it on another machine, there is a problem with the paths to SSL certificates.
By calling the method, ssl.get_default_verify_paths()I made sure that the paths remained the same as on the machine where the assembly was.
This raises the question, how can these paths be rewritten to others?
Or am I just not building the app correctly? After all, logically, paths and ssl certificates should be copied using py2app.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question