�t�_ � @ s� d Z d d l Z d d l Z e j d d k rL d d � Z d d � Z n d d � Z d d � Z y e Z Wn e k r� e Z Yn Xd S) zPython 2/3 compatibility� N� c K s6 t | d d d �� } t j | | | � Wd QRXd S)N�w�encodingzutf-8)�open�json�dump)�obj�path�kwargs�f� r ��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-1.el7.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/pep517/compat.py� write_json s r c C s0 t | d d d �� } t j | � SWd QRXd S)N�rr zutf-8)r r �load)r r r r r � read_json s r c K s6 t | d � � } t j | | d d | �Wd QRXd S)N�wbr zutf-8)r r r )r r r r r r r r s c C s* t | d � � } t j | � SWd QRXd S)N�rb)r r r )r r r r r r s ) �__doc__r �sys�version_infor r �FileNotFoundError� NameError�IOErrorr r r r �<module> s
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__init__.cpython-35.pyc | File | 317 B | 0644 |
|
_in_process.cpython-35.pyc | File | 8.64 KB | 0644 |
|
build.cpython-35.pyc | File | 3.61 KB | 0644 |
|
check.cpython-35.pyc | File | 5.19 KB | 0644 |
|
colorlog.cpython-35.pyc | File | 3.11 KB | 0644 |
|
compat.cpython-35.pyc | File | 1.13 KB | 0644 |
|
dirtools.cpython-35.pyc | File | 1.45 KB | 0644 |
|
envbuild.cpython-35.pyc | File | 4.63 KB | 0644 |
|
meta.cpython-35.pyc | File | 3 KB | 0644 |
|
wrappers.cpython-35.pyc | File | 10.88 KB | 0644 |
|