관리-도구
편집 파일: scripts.pyc
� �Rec @ s� d d l m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z d d l m Z d d l m Z m Z m Z m Z m Z e j e � Z d j � Z e j d � Z d Z d � Z e Z d e f d � � YZ d S( i����( t BytesIONi ( t sysconfigt detect_encodingt ZipFile( t finder( t FileOperatort get_export_entryt convert_patht get_executablet in_venvs� <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="%s" type="win32"/> <!-- Identify the application security requirements. --> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>s ^#!.*pythonw?[0-9.]*([ ].*)?$s� # -*- coding: utf-8 -*- import re import sys from %(module)s import %(import_name)s if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(%(func)s()) c C s� d | k r� | j d � re | j d d � \ } } d | k r� | j d � r� d | | f } q� q� | j d � s� d | } q� n | S( Nt s /usr/bin/env i t "s %s "%s"s "%s"( t startswitht split( t executablet envt _executable( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.pyt enquote_executable3 s t ScriptMakerc B s e Z d Z e Z d Z e e d d � Z d � Z e j j d � rZ d � Z d � Z n d � Z d d d � Z d � Z e Z d � Z d � Z d d � Z d � Z e d � � Z e j d � � Z e j d k s� e j d k re j d k rd � Z n d d � Z d d � Z! RS( s_ A class to copy or create scripts from source scripts or callable specifications. c C s� | | _ | | _ | | _ t | _ t | _ t j d k pW t j d k oW t j d k | _ t d � | _ | p{ t | � | _ t j d k p� t j d k o� t j d k | _ t j | _ d S( Nt posixt javat s X.Yt nt( R s X.Y( t source_dirt target_dirt add_launcherst Falset forcet clobbert ost namet _namet set_modet sett variantsR t _fileopt _is_ntt syst version_info( t selfR R R t dry_runt fileop( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.pyt __init__N s !c C sa | j d t � r] | j r] t j j | � \ } } | j d d � } t j j | | � } n | S( Nt guit pythont pythonw( t getR R$ R t pathR t replacet join( R'