mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-28 10:04:43 +00:00
Use correct dirname for cacert.pem
This commit is contained in:
parent
41d07729bb
commit
a7c57394e9
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -312,7 +312,7 @@ def add_msvc_files (files):
|
|||
def add_requests_cert_file(files):
|
||||
"""Add Python requests .pem file for installers."""
|
||||
import requests
|
||||
filename = os.path.join(requests.__path__, 'cacert.pem')
|
||||
filename = os.path.join(os.path.dirname(requests.__file__), 'cacert.pem')
|
||||
dirname = 'share/linkchecker'
|
||||
files.append((dirname, [filename]))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue