;ò `Ä@c@sdZdddddgZd„Zd„Zdfd„ƒYZdfd „ƒYZdfd „ƒYZdfd „ƒYZdfd „ƒYZd S(s4 Data structures that are to be used in a pkg file. s LocalizationsScriptsExecutableScripts ExecutablesDocumentcCsdkl}t||ƒSdS(N(s StringType(stypess StringTypes isinstancesarg(sargs StringType((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys _string_check s cCsedkl}l}l}|d„}t||ƒp t||ƒot||dƒt|ƒjSdS(N(s StringTypesListTypes TupleTypecCs|t||ƒS(N(sas isinstancesbst(sasbst((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pyssi( stypess StringTypesListTypes TupleTypescheckers isinstancesargsreduceslen(sargs StringTypescheckersListTypes TupleType((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys_string_sequence_checks cBs tZdZd„Zd„ZRS(s3Defines a message catalog for a particular languagecCsDt|ƒp td‚t|ƒp td‚||_||_dS(Ns'language' must be a strings'source' must be a string(s _string_checkslanguagesAssertionErrorssourcesself(sselfslanguagessource((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__init__s cCsd|i|ifSdS(NsLocalization(%r, %r)(sselfslanguagessource(sself((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__repr__!s(s__name__s __module__s__doc__s__init__s__repr__(((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys Localizations  cBstZd„Zd„ZRS(NcCs”t|ƒp td‚t|ƒp td‚||_||_|idƒ}|djod|_||_n|| |_||d|_dS(Ns'name' must be a strings'path' must be a strings.iÿÿÿÿsi( s _string_checksnamesAssertionErrorspathsselfsrfindsindexsmodules identifier(sselfsnamespathsindex((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__init__'s      cCsd|i|ifSdS(NsScript(%r, %r)(sselfsnamespath(sself((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__repr__7s(s__name__s __module__s__init__s__repr__(((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pysScript&s cBstZd„Zd„ZRS(NcCsHt|ƒp td‚t|ƒp td‚||_||_dSdS(Ns'name' must be a strings'source' must be a string(s _string_checksnamesAssertionErrorssourcesself(sselfsnamessource((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__init__;s   cCsd|i|ifSdS(NsExecutableScript(%r, %r)(sselfsnamessource(sself((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__repr__Cs(s__name__s __module__s__init__s__repr__(((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pysExecutableScript:s c Bs;tZdZeeeeeeeeed„ Zd„ZRS(sÔ Just a collection of attributes that describes an executable and everything needed to build it (hopefully in a portable way, but there are hooks that let you be as unportable as you need). Instance attributes: name : string the full name of the extension, including any packages -- ie. *not* a filename or pathname, but Python dotted name sources : [string] list of source filenames, relative to the distribution root (where the setup script lives), in Unix form (slash-separated) for portability. Source files may be C, C++, SWIG (.i), platform-specific resource files, or whatever else is recognized by the "build_ext" command as source for a Python extension. include_dirs : [string] list of directories to search for C/C++ header files (in Unix form for portability) define_macros : [(name : string, value : string|None)] list of macros to define; each macro is defined using a 2-tuple, where 'value' is either the string to define it to or None to define it without a particular value (equivalent of "#define FOO" in source or -DFOO on Unix C compiler command line) undef_macros : [string] list of macros to undefine explicitly library_dirs : [string] list of directories to search for C/C++ libraries at link time libraries : [string] list of library names (not filenames or paths) to link against runtime_library_dirs : [string] list of directories to search for C/C++ libraries at run time (for shared extensions, this is when the extension is loaded) extra_objects : [string] list of extra files to link with (eg. object files not implied by 'sources', static library that must be explicitly specified, binary resource files, etc.) extra_compile_args : [string] any extra platform- and compiler-specific information to use when compiling the source files in 'sources'. For platforms and compilers where "command line" makes sense, this is typically a list of command-line arguments, but for other platforms it could be anything. extra_link_args : [string] any extra platform- and compiler-specific information to use when linking object files together to create the extension (or to create a new static Python interpreter). Similar interpretation as for 'extra_compile_args'. c CsØt|ƒp td‚t|ƒp td‚||_||_|pg|_|pg|_|pg|_|pg|_ |pg|_ |pg|_ | pg|_ | pg|_ | pg|_dSdS(Ns'name' must be a strings''sources' must be a sequence of strings(s _string_checksnamesAssertionErrors_string_sequence_checkssourcessselfs include_dirss define_macross undef_macross library_dirss librariessruntime_library_dirss extra_objectssextra_compile_argssextra_link_args( sselfsnamessourcess include_dirss define_macross undef_macross library_dirss librariessruntime_library_dirss extra_objectssextra_compile_argssextra_link_args((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__init__xs   cCsd|i|ifSdS(NsExecutable(%r, %r)(sselfsnamessources(sself((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__repr__•s(s__name__s __module__s__doc__sNones__init__s__repr__(((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys ExecutableFs 0$c Bs8tZdZeeeeeeded„Zd„ZRS(sn An XSLT rendered document. It creates both a XML, HTML and Text version of the document (if desired) sgeneralc Csl||_||_||_||_||_||_|ph|_||_| |_ | pg|_ dS(N( ssourcesselfshtmlStylesheetsstextStylesheetssoutdirs htmlOutfiles textOutfilesparamsstitlescategorysflags( sselfssourcesoutdirshtmlStylesheetss htmlOutfilestextStylesheetss textOutfilesparamsstitlescategorysflags((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__init__žs        c CsHd|i|i|i|i|i|i|i|i|i |i f SdS(Ns0Document(%r, %r, %r, %r, %r, %r, %r, %r, %r, %r)( sselfssourcesoutdirshtmlStylesheetss htmlOutfilestextStylesheetss textOutfilesparamsstitlescategorysflags(sself((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys__repr__µs(s__name__s __module__s__doc__sNones__init__s__repr__(((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pysDocumentšs !N( s__doc__s__all__s _string_checks_string_sequence_checks LocalizationsScriptsExecutableScripts ExecutablesDocument(s Executables_string_sequence_checks__all__sScriptsExecutableScripts Localizations _string_checksDocument((sT/mnt/gmirror/ports/textproc/py-4suite/work/4Suite-1.0b1/Ft/Lib/DistExt/Structures.pys?s   T