ACC SHELL
Ñò
tÄMc @ s d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k
l Z d e i i
f d „ ƒ YZ d e i i f d „ ƒ YZ d e i f d „ ƒ YZ d
e i f d „ ƒ YZ d „ Z e d
j o e i d d ƒ n d S( s Tests for distutils.dist.iÿÿÿÿN( t TESTFNt test_distc B s e Z d Z d g Z d „ Z RS( s# Sample distutils extension command.s sample-option=t Ss help textc C s
d | _ d S( N( t Nonet
sample_option( t self( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt initialize_options s ( s sample-option=R s help text( t __name__t
__module__t __doc__t user_optionsR ( ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyR s t TestDistributionc B s e Z d Z d „ Z RS( s² Distribution subclasses that avoids the default search for
configuration files.
The ._config_files attribute must be set before
.parse_config_files() is called.
c C s | i S( N( t
_config_files( R ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt find_config_files$ s ( R R R R
( ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyR s t DistributionTestCasec B sS e Z d „ Z d „ Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s t i | _ t i d 3d S( Ni ( t syst argv( R ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt setUp* s
c C s | i t i (d S( N( R R ( R ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt tearDown. s c C s* t ƒ } | | _ | i ƒ | i ƒ | S( N( R R t parse_config_filest parse_command_line( R t configfilest d( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt create_distribution1 s
c C s9 t i i d ƒ | i ƒ } | i | i ƒ d g ƒ d S( Nt builds distutils.command( R R t appendR t assertEqualt get_command_packages( R R ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt! test_command_packages_unspecified8 s c C s“ d d k l } t i i d d d d g ƒ | i ƒ } | i | i ƒ d d d g ƒ | i d ƒ } | i t
| | ƒ ƒ | i | i d
ƒ d S( Niÿÿÿÿ( R s --command-packagess foo.bar,distutils.testsR s
-Ssometexts distutils.commands foo.bars distutils.testst sometext( t distutils.tests.test_distR R R t extendR R R t get_command_objt assert_t
isinstanceR ( R R R t cmd( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt test_command_packages_cmdline= s
c C s t i i d ƒ t t d ƒ } zØ | d IJ| d IJ| i ƒ | i t g ƒ } | i | i ƒ d d d g ƒ d d d g t i d
)| i t g ƒ } | i | i ƒ d d g ƒ d d d g t i d
)| i t g ƒ } | i | i ƒ d g ƒ Wd t i
t ƒ Xd S( NR t ws [global]s! command_packages = foo.bar, splats distutils.commands foo.bart splats --command-packagest sporki t ( R R R t openR t closeR R R t ost unlink( R t fR ( ( s/ /usr/lib/python2.6/distutils/tests/test_dist.pyt test_command_packages_configfileL s"