관리-도구
편집 파일: markers.cpython-33.pyc
� �Re� c @ s� d Z d d d g Z d d l Z d d l Z d d l Z d d l Z d d l Z e Z y d d l m Z Wn3 e k r� e j d k r� d d � Z n � Yn Xi e j d 6d e j d d � d 6e j j d d � d d 6e j d 6e j � d 6e j � d 6e � d 6d d 6Z xC e e j � � D]/ Z d e k r+e e e e j d d � <q+q+Wd d � Z Gd d � d e j � Z d d � Z d d � Z e j � Z d d � Z d d d � Z d S(! u� Interpret PEP 345 environment markers. EXPR [in|==|!=|not in] EXPR [or|and] ... where EXPR belongs to any of those: python_version = '%s.%s' % (sys.version_info[0], sys.version_info[1]) python_full_version = sys.version.split()[0] os.name = os.name sys.platform = sys.platform platform.version = platform.version() platform.machine = platform.machine() platform.python_implementation = platform.python_implementation() a free string, like '2.6', or 'win32' u default_environmentu compileu interpreti N( u python_implementationu javac C s d S( Nu Jython( ( ( ( u+ /tmp/pip-k8wh6o-build/_markerlib/markers.pyu python_implementation! s u python_implementationu sys.platformu %s.%si u python_versionu i u python_full_versionu os.nameu platform.versionu platform.machineu platform.python_implementationu extrau .u _c C s t t � S( u2 Return copy of default PEP 385 globals dictionary.( u dictu _VARS( ( ( u+ /tmp/pip-k8wh6o-build/_markerlib/markers.pyu default_environment8 s c B s� | Ee Z d Z d d � Z e j e j e j e j e j e j f Z e e j e j f 7Z e e j e j e j e j e j e j e j e j e j e j f 7Z d d � Z d d � Z d S( u ASTWhitelistc C s | | _ d S( N( u statement( u selfu statement( ( u+ /tmp/pip-k8wh6o-build/_markerlib/markers.pyu __init__= s u ASTWhitelist.__init__c C sL t | | j � s9 t d | j d | j d f � � n t j j | | � S( u- Ensure statement only contains allowed nodes.u) Not allowed in environment markers. %s %su u ^( u isinstanceu ALLOWEDu SyntaxErroru statementu col_offsetu astu NodeTransformeru visit( u selfu node( ( u+ /tmp/pip-k8wh6o-build/_markerlib/markers.pyu visitF s u ASTWhitelist.visitc C s8 t j d | j j | j f | j � } t j | | � S( u&