$78 GRAYBYTE WORDPRESS FILE MANAGER $23

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/

HOME
Current File : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils//temp_dir.pyc
�
�Rec@@s�ddlmZddlZddlZddlZddlZddlZddlm	Z	ddl
mZddlm
Z
ddlmZmZddlmZer�ddlmZmZmZmZmZmZed	d
d�Zneje�Zedd
dddd�Zda e	d��Z!de"fd��YZ#da$e	d��Z%de"fd��YZ&e&�Z'de"fd��YZ(de(fd��YZ)dS(i(tabsolute_importN(tcontextmanager(t	ExitStack(tensure_text(tenumtrmtree(tMYPY_CHECK_RUNNING(tAnytDicttIteratortOptionaltTypeVartUniont_Ttboundt
TempDirectoryt	BUILD_ENVs	build-envtEPHEM_WHEEL_CACHEsephem-wheel-cachet	REQ_BUILDs	req-buildcc@s6t��'}t|}az	dVWd|aXWdQXdS(N(Rt_tempdir_manager(tstacktold_tempdir_manager((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pytglobal_tempdir_manager%s

	tTempDirectoryTypeRegistrycB@s)eZdZd�Zd�Zd�ZRS(s$Manages temp directory behavior
    cC@s
i|_dS(N(t_should_delete(tself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt__init__5scC@s||j|<dS(s[Indicate whether a TempDirectory of the given kind should be
        auto-deleted.
        N(R(Rtkindtvalue((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt
set_delete9scC@s|jj|t�S(s^Get configured auto-delete flag for a given TempDirectory type,
        default True.
        (RtgettTrue(RR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt
get_delete@s(t__name__t
__module__t__doc__RRR (((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR1s		cc@s&t}t�az	tVWd|aXdS(suProvides a scoped global tempdir registry that can be used to dictate
    whether directories should be deleted.
    N(t_tempdir_registryR(told_tempdir_registry((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyttempdir_registryKs
		t_DefaultcB@seZRS((R!R"(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR'ZscB@s_eZdZd	eded�Zed��Zd�Z	d�Z
d�Zd�Zd�Z
RS(
sMHelper class that owns and cleans up a temporary directory.

    This class can be used as a context manager or as an OO representation of a
    temporary directory.

    Attributes:
        path
            Location to the created temporary directory
        delete
            Whether the directory should be deleted when exiting
            (when used as a contextmanager)

    Methods:
        cleanup()
            Deletes the temporary directory

    When used as a context manager, if the delete attribute is True, on
    exiting the context the temporary directory is deleted.
    ttempcC@s�tt|�j�|tkr=|dk	r4t}q=d}n|dkr[|j|�}n||_t|_||_	||_
|r�tdk	s�t�tj
|�ndS(N(tsuperRRt_defaulttNonetFalset_createt_patht_deletedtdeleteRRtAssertionErrort
enter_context(RtpathR0Rtglobally_managed((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyRvs						cC@s)|js"tdj|j���|jS(Ns$Attempted to access deleted path: {}(R/R1tformatR.(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR3�s
cC@sdj|jj|j�S(Ns	<{} {!r}>(R5t	__class__R!R3(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt__repr__�scC@s|S(N((R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt	__enter__�scC@sS|jdk	r|j}n!tr6tj|j�}nt}|rO|j�ndS(N(R0R+R$R RRtcleanup(RtexcRttbR0((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt__exit__�scC@s;tjjtjddj|���}tjd|�|S(sECreate a temporary directory and store its path in self.path
        tprefixspip-{}-sCreated temporary directory: %s(tosR3trealpathttempfiletmkdtempR5tloggertdebug(RRR3((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR-�s	cC@s8t|_tjj|j�r4tt|j��ndS(s?Remove the temporary directory created and reset state
        N(RR/R>R3texistsR.RR(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR9�s	N(R!R"R#R+R*R,RtpropertyR3R7R8R<R-R9(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyRas				tAdjacentTempDirectorycB@s8eZdZdZdd�Zed��Zd�ZRS(s�Helper class that creates a temporary directory adjacent to a real one.

    Attributes:
        original
            The original directory to create a temp directory for.
        path
            After calling create() or entering, contains the full
            path to the temporary directory.
        delete
            Whether the directory should be deleted when exiting
            (when used as a contextmanager)

    s-~.=%0123456789cC@s/|jd�|_tt|�jd|�dS(Ns/\R0(trstriptoriginalR)RFR(RRHR0((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR�scc@s�xptdt|��D]Y}xPtj|j|d�D]5}ddj|�||}||kr6|Vq6q6WqWxhtt|j��D]Q}xHtj|j|�D]1}ddj|�|}||kr�|Vq�q�Wq�WdS(sGenerates a series of temporary names.

        The algorithm replaces the leading characters in the name
        with ones that are valid filesystem characters, but are not
        valid package names (for both Python and pip definitions of
        package).
        it~tN(trangetlent	itertoolstcombinations_with_replacementt
LEADING_CHARStjoin(tclstnametit	candidatetnew_name((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt_generate_names�s
		cC@s�tjj|j�\}}x�|j|�D]m}tjj||�}ytj|�Wn+tk
r�}|jtj	kr��q�q+Xtjj
|�}Pq+Wtjj
tjddj
|���}tjd|�|S(NR=spip-{}-sCreated temporary directory: %s(R>R3tsplitRHRVRPtmkdirtOSErrorterrnotEEXISTR?R@RAR5RBRC(RRtrootRRRTR3tex((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyR-�s
	N(	R!R"R#ROR+RtclassmethodRVR-(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyRF�s

(*t
__future__RRZRMtloggingtos.pathR>R@t
contextlibRtpip._vendor.contextlib2Rtpip._vendor.sixRtpip._internal.utils.miscRRtpip._internal.utils.typingRttypingRRR	R
RRR
t	getLoggerR!RBt
tempdir_kindsR+RRtobjectRR$R&R'R*RRF(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.pyt<module>s6.		i


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
0 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
__init__.pyc
0.221 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
appdirs.py
1.317 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
appdirs.pyc
2.016 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
compat.py
9.267 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
compat.pyc
9.653 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
compatibility_tags.py
5.312 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
compatibility_tags.pyc
4.909 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
datetime.py
0.288 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
datetime.pyc
0.731 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
deprecation.py
3.24 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
deprecation.pyc
3.805 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
direct_url_helpers.py
4.257 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
direct_url_helpers.pyc
3.61 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
distutils_args.py
1.318 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
distutils_args.pyc
1.726 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
encoding.py
1.254 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
encoding.pyc
1.731 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
entrypoints.py
1.19 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
entrypoints.pyc
1.589 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
filesystem.py
6.78 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
filesystem.pyc
8.431 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
filetypes.py
0.558 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
filetypes.pyc
0.834 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
glibc.py
3.22 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
glibc.pyc
2.493 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
hashes.py
4.568 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
hashes.pyc
6.646 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
inject_securetransport.py
0.791 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
inject_securetransport.pyc
1.189 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
logging.py
12.786 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
logging.pyc
13.289 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
misc.py
27.667 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
misc.pyc
37.103 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
models.py
1.173 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
models.pyc
3.218 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
packaging.py
2.964 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
packaging.pyc
3.572 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
parallel.py
3.324 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
parallel.pyc
3.921 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
pkg_resources.py
1.225 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
pkg_resources.pyc
2.939 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
setuptools_build.py
4.939 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
setuptools_build.pyc
4.254 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
subprocess.py
9.691 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
subprocess.pyc
7.313 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
temp_dir.py
8.182 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
temp_dir.pyc
9.96 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
typing.py
1.368 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
typing.pyc
1.644 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
unpacking.py
9.266 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
unpacking.pyc
8.435 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
urls.py
1.491 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
urls.pyc
2.187 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
virtualenv.py
3.619 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
virtualenv.pyc
4.597 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
wheel.py
7.132 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
wheel.pyc
7.997 KB
13 Nov 2023 9.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF