%PDF- %PDF-
Direktori : /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/ |
Current File : //opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_lib.pyo |
� 5}�ac @ s� d 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 d d l m Z d d l m Z d e j e j e j e j f d � � YZ d � Z e d k r� e e � � n d S( s) Tests for distutils.command.install_data.i����N( t install_lib( t Extension( t support( t DistutilsOptionError( t run_unittestt InstallLibTestCasec B sS e Z d � Z d � Z e j e j d � d � � Z d � Z d � Z d � Z RS( c C s� | j � \ } } t | � } | j � | j | j d � | j | j d � d | _ | j t | j � d | _ | j t | j � d | _ | j � | j | j d � d S( Ni i t foot 4t 2i ( t create_distR t finalize_optionst assertEqualt compilet optimizet assertRaisesR ( t selft pkg_dirt distt cmd( ( sI /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_lib.pyt test_finalize_options s c C sg | j � \ } } t | � } d | _ | _ t j j | d � } | j | d � | j | g � | S( Ni s foo.pys # python file( R R R R t ost patht joint write_filet byte_compile( R R R R t f( ( sI /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_lib.pyt _setup_byte_compile# s s byte-compile not enabledc C su | j � } t j j d k rI | j t j j t j j | d � � � n( | j t j j t j j | d � � � d S( Ni s foo.pycs foo.pyo( R t syst flagsR t assertTrueR R t existsR ( R R ( ( sI /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_lib.pyt test_byte_compile- s +c C s� | j � \ } } t | � } d | _ | _ | | _ t j j | d � } | j | d � | g | j _ t d d g � g | j _ | g | j _ d | j _ | j t | j � � d � d S( Ni s foo.pys # python fileR t xxxs setup.pyi ( R R R R t install_dirR R R R t distributiont py_modulesR t ext_modulest packagest script_namet assertGreaterEqualt lent get_outputs( R R R R R ( ( sI /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_lib.pyt test_get_outputs5 s c C s� | j � \ } } t | � } d | _ | _ | | _ t j j | d � } | j | d � | g | j _ t d d g � g | j _ | g | j _ d | j _ | j t | j � � d � d S( Ni s foo.pys # python fileR R s setup.pyi ( R R R R R! R R R R R"