You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
288 B

4 years ago
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. """
  4. certifi.py
  5. ~~~~~~~~~~
  6. This module returns the installation location of cacert.pem.
  7. """
  8. import os
  9. def where():
  10. f = os.path.dirname(__file__)
  11. return os.path.join(f, 'cacert.pem')
  12. if __name__ == '__main__':
  13. print(where())