• File: __init__.cpython-36.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/lib/python3.6/site-packages/setuptools/extern/__pycache__/__init__.cpython-36.pyc
  • Date Modified: 10/18/2026 11:59 PM
  • File size: 2.3 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
3

l]j	@s.ddlZGdddZdZeeedjdS)	Nc@sDeZdZdZfdfddZeddZd
ddZd	d
ZddZ	dS)VendorImporterz
    A PEP 302 meta path importer for finding optionally-vendored
    or otherwise naturally-installed packages from root_name.
    NcCs&||_t||_|p|jdd|_dS)NZexternZ_vendor)	root_namesetvendored_namesreplace
vendor_pkg)selfrrrr	/usr/lib/python3.6/__init__.py__init__
s
zVendorImporter.__init__ccs|jdVdVdS)zL
        Search first the vendor package then as a natural package.
        .N)r)rr	r	r
search_pathszVendorImporter.search_pathcCs8|j|jd\}}}|rdStt|j|js4dS|S)z
        Return self when fullname starts with root_name and the
        target module is one vendored through this importer.
        rN)	partitionranymap
startswithr)rfullnamepathrootbasetargetr	r	r
find_moduleszVendorImporter.find_modulecCs|j|jd\}}}xp|jD]T}y:||}t|tj|}|tj|<tjdkrZtj|=|Stk
rpYqXqWtdjft	dS)zK
        Iterate over the search path to locate and load fullname.
        rzThe '{target}' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.N)rr)
rrr
__import__sysmodulesversion_infoImportErrorformatlocals)rrrrrprefixZextantmodr	r	r
load_module#s



zVendorImporter.load_modulecCs|tjkrtjj|dS)zR
        Install this importer into sys.meta_path if not already present.
        N)r	meta_pathappend)rr	r	r
install@s
zVendorImporter.install)N)
__name__
__module____qualname____doc__rpropertyrrr#r&r	r	r	r
rs
rsix	packaging	pyparsingzsetuptools._vendor)r,r-r.)rrnamesr'r&r	r	r	r
<module>sD