Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
usr
/
local
/
lib
/
python3.6
/
site-packages
/
setuptools
/
__pycache__
✏️
Editing: config.cpython-36.pyc
3 ���eqZ � @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dlm Z d dlm Z d dlmZ d dl Z d dlmZmZ d dlmZmZ d dlmZ G d d � d �Ze jdd� �Zddd�Zdd� Zdd� Zddd�ZG dd� d�ZG dd� de�ZG dd� de�ZdS )� N)�defaultdict)�partial)�wraps)�iglob)�DistutilsOptionError�DistutilsFileError)�Version�InvalidVersion)�SpecifierSetc @ s e Zd ZdZdd� Zdd� ZdS )�StaticModulez0 Attempt to load the module by the name c C sL t jj|�}t|j��}|j� }W d Q R X tj|�}t| �j t � � | `d S )N)� importlib�util� find_spec�open�origin�read�ast�parse�vars�update�locals�self)r �name�spec�strm�src�module� r �7/tmp/pip-build-vlmub77e/setuptools/setuptools/config.py�__init__ s zStaticModule.__init__c sV yt � fdd�| jjD ��S tk rP } ztdjf t� ��|�W Y d d }~X nX d S )Nc 3 sH | ]@}t |tj�r|jD ](}t |tj�r|j� krtj|j�V qqd S )N)� isinstancer ZAssign�targets�Name�idZliteral_eval�value)�.0Z statement�target)�attrr r � <genexpr>$ s z+StaticModule.__getattr__.<locals>.<genexpr>z#{self.name} has no attribute {attr})�nextr �body� Exception�AttributeError�formatr )r r'