ok
Direktori : /proc/self/root/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/ |
Current File : //proc/self/root/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyo |
� �/{Yc @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z y d d l m Z Wn$ e k r� d d d � � YZ n Xd e e f d � � YZ d � Z d S( i����N( t build_py( t convert_path( t glob( t Mixin2to3R c B s e Z e d � Z RS( c C s d S( s do nothingN( ( t selft filest doctests( ( sL /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyt run_2to3 s ( t __name__t __module__t TrueR ( ( ( sL /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyR s R c B s� e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e j d k r{ d d � Z n d � Z d � Z d � Z d � Z RS( sX Enhanced 'build_py' command that includes data files with packages The data files are specified via a 'package_data' argument to 'setup()'. See 'setuptools.dist.Distribution' for more details. Also, this version of the 'build_py' command allows you to specify both 'py_modules' and 'packages' in the same setup operation. c C sc t j | � | j j | _ | j j p+ i | _ d | j k rM | j d =n g | _ g | _ d S( Nt data_files( t _build_pyt finalize_optionst distributiont package_datat exclude_package_datat __dict__t _build_py__updated_filest _build_py__doctests_2to3( R ( ( sL /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyR s c C s� | j r | j r d S| j r. | j � n | j rN | j � | j � n | j | j t � | j | j t � | j | j t � | j t j | d d �� d S( s? Build modules, packages, and copy data files to build directoryNt include_bytecodei ( t py_modulest packagest build_modulest build_packagest build_package_dataR R t FalseR R t byte_compileR t get_outputs( R ( ( sL /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyt run! s c C s3 | d k r# | j � | _ } | St j | | � S( NR ( t _get_data_filesR R t __getattr__( R t attrR ( ( sL /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyR 5 s c C sA t j | | | | � \ } } | r7 | j j | � n | | f S( N( R t build_moduleR t append( R t modulet module_filet packaget outfilet copied( ( sL /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/build_py.pyR! ; s c C s� | j � g } x� | j p d D]� } | j | � } t j j | j g | j d � � } t | � d } g | j | | � D] } | | ^ q} } | j | | | | f � q W| S( s? Generate list of '(package,src_dir,build_dir,filenames)' tuplest .i ( ( t analyze_manifestR t get_package_dirt ost patht joint build_libt splitt lent find_data_filesR"