Metadata-Version: 2.4
Name: pip_system_certs
Version: 0.0+g.dirty
Summary: Live patches pip to use system certs by default
Home-page: https://gitlab.com/alelec/pip-system-certs
Author: Andrew Leech
Author-email: andrew@alelec.net
License: BSD
Requires-Python: >=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
License-File: LICENSE
Requires-Dist: wrapt>=1.10.4
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

================
pip-system-certs
================

This package patches pip and requests at runtime to use certificates from the default system store (rather than the bundled certs ca).

This will allow pip to verify tls/ssl connections to servers who's cert is trusted by your system install.

Simply install with::

  pip install pip_system_certs

and pip should trust your https sites if your host os does.

This also extends to all direct uses of the requests library (and other packages that use requests)

PyInstaller
-----------
The method used to automatically enable the cert handling in requests/pip/etc relies on a ``.pth``
file script that python loads at startup. This method does not work when a python application is
bundled into an executable with PyInstaller (or similar).

If you want to use this tool in an application built with PyInstaller it will need to be manually
enabled in your application.

This can be done by adding the following line to the top of your main application script::

    import pip_system_certs.wrapt_requests

This must be run before ``requests`` is imported.

Acknowledgements
----------------
The method of patching at runtime is built from the autowrapt module: https://pypi.python.org/pypi/autowrapt


version: 0.0+g.dirty
