• File: _imp.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/_imp.cpython-37.pyc
  • Date Modified: 11/13/2023 9:30 PM
  • File size: 2.01 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

mReX	@sddZddlZddlZddlZddlmZdZdZdZ	dZ
dZd	d
ZdddZ
dd
dZddZdS)zX
Re-implementation of find_module and get_frozen_object
from the deprecated imp module.
N)module_from_speccCs(t|trtjjntjj}|||S)N)
isinstancelist	importlib	machinery
PathFinder	find_specutil)modulepathsfinderr@/opt/alt/python37/lib/python3.7/site-packages/setuptools/_imp.pyr
sr
c	CsRt||}|dkrtd||js>t|dr>tjd|j}d}d}t|jt	}|j
dksp|rt|jtjj
rt}d}d}}n|j
dks|rt|jtjjrt}d}d}}n|jr6|j
}tj|d	}|tjjkrd
nd}|tjjkrt}n&|tjjkr
t}n|tjjkrt}|tthkrBt||}nd}d}}|||||ffS)z7Just like 'imp.find_module()', but with package supportNz
Can't find %ssubmodule_search_locationsz__init__.pyfrozenzbuilt-inrrrb)r
ImportErrorhas_locationhasattrr
rspec_from_loaderloaderrtypeorigin
issubclassrFrozenImporter	PY_FROZENBuiltinImporter	C_BUILTINospathsplitextSOURCE_SUFFIXES	PY_SOURCEBYTECODE_SUFFIXESPY_COMPILEDEXTENSION_SUFFIXESC_EXTENSIONopen)	rrspecZkindfileZstaticr'suffixmoderrrfind_modulesB


r4cCs&t||}|std||j|S)Nz
Can't find %s)r
rrget_code)rrr0rrrget_frozen_objectGs
r6cCs"t||}|std|t|S)Nz
Can't find %s)r
rr)rrinfor0rrr
get_moduleNs
r8)N)N)__doc__r&importlib.utilr
Zimportlib.machineryZ
py34compatrr*r,r.r%r#r
r4r6r8rrrr<module>s	
*