Ñò §ÚêLc @ s’ d Z d Z d d k Z d d k l Z d d k l Z d d k l Z l Z d d k Td d k l Z d d k l Z d e f d „ ƒ YZ d S( s· distutils.command.bdist_dumb Implements the Distutils 'bdist_dumb' command (create a "dumb" built distribution -- i.e., just an archive to be unpacked under $prefix or $exec_prefix).s@ $Id: bdist_dumb.py 61000 2008-02-23 17:40:11Z christian.heimes $iÿÿÿÿN( t Command( t get_platform( t remove_treet ensure_relative( t *( t get_python_version( t logt bdist_dumbc B s‹ e Z d Z d d d d e ƒ f d d d d d f d d d! g Z d d d g Z h d d 6d d 6d d 6Z d „ Z d „ Z d „ Z RS(" s" create a "dumb" built distributions bdist-dir=t ds1 temporary directory for creating the distributions plat-name=t ps; platform name to embed in generated filenames (default: %s)s format=t fs0 archive format to create (tar, ztar, gztar, zip)s keep-tempt ks/ keep the pseudo-installation tree around after s! creating the distribution archives dist-dir=s- directory to put final built distributions ins skip-builds2 skip rebuilding everything (for testing/debugging)t relatives6 build the archive using relative paths(default: false)t gztart posixt zipt ntt os2c C sC d | _ d | _ d | _ d | _ d | _ d | _ d | _ d S( Ni ( t Nonet bdist_dirt plat_namet formatt keep_tempt dist_dirt skip_buildR ( t self( ( s4 /usr/lib64/python2.6/distutils/command/bdist_dumb.pyt initialize_options1 s c C sª | i d j o. | i d ƒ i } t i i | d ƒ | _ n | i d j oE y | i t i | _ Wq“ t j o t d d t i ‚ q“ Xn | i d d d ƒ d S( Nt bdistt dumbs2 don't know how to create dumb built distributions s on platform %sR R ( s dist_dirs dist_dir( s plat_names plat_name( R R t get_finalized_commandt bdist_baset ost patht joinR t default_formatt namet KeyErrort DistutilsPlatformErrort set_undefined_options( R R ( ( s4 /usr/lib64/python2.6/distutils/command/bdist_dumb.pyt finalize_options= s c C sÒ | i p | i d ƒ n | i d d d ƒ} | i | _ | i | _ d | _ t i d | i ƒ | i d ƒ d | i i ƒ | i f } t i d j o | i d d ƒ } n t i i | i | ƒ } | i p | i } nn | i i ƒ o<