AlkantarClanX12
Current Path : /opt/alt/python35/lib64/python3.5/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/modulefinder.cpython-35.pyc |
��Yf-Z � @ s} d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z e j � �! e j d e � d d l Z Wd QRXe j d Z e j d Z e j d Z e j d Z e e f Z e j Z i Z d d � Z i Z d d � Z Gd d � d � Z Gd d � d � Z d d � Z e d k ryy e � Z Wn e k rxe d � Yn Xd S)z3Find modules used by a script, using introspection.� N�ignore� LOAD_CONST�IMPORT_NAME� STORE_NAME�STORE_GLOBALc C s t j | g � j | � d S)N)�packagePathMap� setdefault�append)Zpackagename�path� r �1/opt/alt/python35/lib64/python3.5/modulefinder.py�AddPackagePath s r c C s | t | <d S)N)�replacePackageMap)Zoldname�newnamer r r �ReplacePackage+ s r c @ s. e Z d Z d d d d � Z d d � Z d S)�ModuleNc C s: | | _ | | _ | | _ d | _ i | _ i | _ d S)N)�__name__�__file__�__path__�__code__�globalnames�starimports)�self�name�filer r r r �__init__1 s zModule.__init__c C sd d | j f } | j d k r3 | d | j f } | j d k rV | d | j f } | d } | S)Nz Module(%rz, %r�))r r r )r �sr r r �__repr__>