<s> """<STR_LIT>""" <EOL> import os <EOL> import imp <EOL> import sys <EOL> import site <EOL> __all__ = [ '<STR_LIT>' ] <EOL> uses_pycache = hasattr ( imp , '<STR_LIT>' ) <EOL> class NeverUsedException ( Exception ) : <EOL> """<STR_LIT>""" <EOL> try : <EOL> WindowsError = WindowsError <EOL> except NameError : <EOL> WindowsError = NeverUsedException <EOL> try : <EOL> PermissionError = PermissionError <EOL> except NameError : <EOL> PermissionError = NeverUsedException <EOL> console_encoding = sys . __stdout__ . encoding <EOL> if sys . version_info >= ( <NUM_LIT:3> , ) : <EOL> from io import StringIO , BytesIO <EOL> from functools import reduce <EOL> from urllib . error import URLError , HTTPError <EOL> from queue import Queue , Empty <EOL> from urllib . request import url2pathname <EOL> from urllib . request import urlretrieve <EOL> from email import message as emailmessage <EOL> import urllib . parse as urllib <EOL> import urllib . request as urllib2 <EOL> import configparser as ConfigParser <EOL> import xmlrpc . client as xmlrpclib <EOL> import urllib . parse as urlparse <EOL> import http . client as httplib <EOL> def cmp ( a , b ) : <EOL> return ( a > b ) - ( a < b ) <EOL> def b ( s ) : <EOL> return s . encode ( '<STR_LIT:utf-8>' ) <EOL> def u ( s ) : <EOL> return s . decode ( '<STR_LIT:utf-8>' ) <EOL> def console_to_str ( s ) : <EOL> try : <EOL> return s . decode ( console_encoding ) <EOL> except UnicodeDecodeError : <EOL> return s . decode ( '<STR_LIT>' ) <EOL> def fwrite ( f , s ) : <EOL> f . buffer . write ( b ( s ) ) <EOL> bytes = bytes <EOL> string_types = ( str , ) <EOL> raw_input = input <EOL> else : <EOL> from cStringIO import StringIO <EOL> from urllib2 import URLError , HTTPError <EOL> from Queue import Queue , Empty <EOL> from urllib import url2pathname , urlretrieve <EOL> from email import Message as emailmessage <EOL> import urllib <EOL> import urllib2 <EOL> import urlparse <EOL> import ConfigParser <EOL> import xmlrpclib <EOL> import httplib <EOL> def b ( s ) : <EOL> return s <EOL> def u ( s ) : <EOL> return s <EOL> def console_to_str ( s ) : <EOL> return s <EOL> def fwrite ( f , s ) : <EOL> f . write ( s ) <EOL> bytes = str <EOL> string_types = ( basestring , ) <EOL> reduce = reduce <EOL> cmp = cmp <EOL> raw_input = raw_input <EOL> BytesIO = StringIO <EOL> from distutils . sysconfig import get_python_lib , get_python_version <EOL> user_site = getattr ( site , '<STR_LIT>' , None ) <EOL> def product ( * args , ** kwds ) : <EOL> pools = list ( map ( tuple , args ) ) * kwds . get ( '<STR_LIT>' , <NUM_LIT:1> ) <EOL> result = [ [ ] ] <EOL> for pool in pools : <EOL> result = [ x + [ y ] for x in result for y in pool ] <EOL> for prod in result : <EOL> yield tuple ( prod ) <EOL> def home_lib ( home ) : <EOL> """<STR_LIT>""" <EOL> if hasattr ( sys , '<STR_LIT>' ) : <EOL> lib = '<STR_LIT>' <EOL> else : <EOL> lib = os . path . join ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> return os . path . join ( home , lib ) <EOL> try : <EOL> import ssl <EOL> try : <EOL> from ssl import match_hostname , CertificateError <EOL> except ImportError : <EOL> from pip . backwardcompat . ssl_match_hostname import match_hostname , CertificateError <EOL> except ImportError : <EOL> ssl = None <EOL> import socket <EOL> if not hasattr ( socket , '<STR_LIT>' ) : <EOL> from pip . backwardcompat . socket_create_connection import create_connection <EOL> socket . create_connection = create_connection </s>
