Name Description Size Coverage
__init__.py 359 -
_log.py 42 -
_macos_compat.py 239 -
_modified.py Timestamp comparison of files and groups of files. 2446 -
_msvccompiler.py distutils._msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for Microsoft Visual Studio 2015. This module requires VS 2015 or later. 20798 -
archive_util.py distutils.archive_util Utility functions for creating archive files (tarballs, zip files, that sort of thing). 7844 -
ccompiler.py distutils.ccompiler Contains CCompiler, an abstract base class that defines the interface for the Distutils compiler abstraction model. 48873 -
cmd.py distutils.cmd Provides the Command class, the base class for the command classes in the distutils.command package. 17877 -
command -
compat -
core.py distutils.core The only module that needs to be imported to use the Distutils; provides the 'setup' function (which is to be called from the setup script). Also indirectly provides the Distribution and Command classes, although they are really defined in distutils.dist and distutils.cmd. 9267 -
cygwinccompiler.py distutils.cygwinccompiler Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode). 11891 -
debug.py 139 -
dep_util.py 349 -
dir_util.py distutils.dir_util Utility functions for manipulating directories and directory trees. 7407 -
dist.py distutils.dist Provides the Distribution class, which represents the module distribution being built/installed/distributed. 50553 -
errors.py Exceptions used by the Distutils modules. Distutils modules may raise these or standard exceptions, including :exc:`SystemExit`. 3325 -
extension.py distutils.extension Provides the Extension class, used to describe C/C++ extension modules in setup scripts. 10358 -
fancy_getopt.py distutils.fancy_getopt Wrapper around the standard getopt module that provides the following additional features: * short and long options are tied together * options have help strings, so fancy_getopt could potentially create a complete usage summary * options set attributes of a passed-in object 17822 -
file_util.py distutils.file_util Utility functions for operating on single files. 7962 -
filelist.py distutils.filelist Provides the FileList class, used for poking about the filesystem and building lists of files. 13654 -
log.py A simple log mechanism styled after PEP 282. Retained for compatibility and should not be used. 1200 -
spawn.py distutils.spawn Provides the 'spawn()' function, a front-end to various platform- specific functions for launching another program in a sub-process. 3625 -
sysconfig.py Provide access to Python's configuration information. The specific configuration variables available depend heavily on the platform and configuration. The values may be retrieved using get_config_var(name), and the list of variables is available via get_config_vars().keys(). Additional convenience functions are also available. Written by: Fred L. Drake, Jr. Email: <fdrake@acm.org> 19235 -
tests -
text_file.py text_file provides the TextFile class, which gives an interface to text files that (optionally) takes care of stripping comments, ignoring blank lines, and joining lines with backslashes. 12098 -
unixccompiler.py distutils.unixccompiler Contains the UnixCCompiler class, a subclass of CCompiler that handles the "typical" Unix-style command-line C compiler: * macros defined with -Dname[=value] * macros undefined with -Uname * include search directories specified with -Idir * libraries specified with -lllib * library search directories specified with -Ldir * compile handled by 'cc' (or similar) executable with -c option: compiles .c to .o * link static library handled by 'ar' command (possibly with 'ranlib') * link shared library handled by 'cc -shared' 15437 -
util.py distutils.util Miscellaneous utility functions -- anything that doesn't fit into one of the other *util.py modules. 17654 -
version.py Provides classes to represent module version numbers (one class for each style of version numbering). There are currently two such classes implemented: StrictVersion and LooseVersion. Every version number class implements the following interface: * the 'parse' method takes a string and parses it to some internal representation; if the string is an invalid version number, 'parse' raises a ValueError exception * the class constructor takes an optional string argument which, if supplied, is passed to 'parse' * __str__ reconstructs the string that was passed to 'parse' (or an equivalent string -- ie. one that will generate an equivalent version number instance) * __repr__ generates Python code to recreate the version number instance * _cmp compares the current instance with either another instance of the same class or a string (which will be parsed to an instance of the same class, thus must follow the same rules) 12634 -
versionpredicate.py Module for parsing and testing package version predicate strings. 5205 -
zosccompiler.py distutils.zosccompiler Contains the selection of the c & c++ compilers on z/OS. There are several different c compilers on z/OS, all of them are optional, so the correct one needs to be chosen based on the users input. This is compatible with the following compilers: IBM C/C++ For Open Enterprise Languages on z/OS 2.0 IBM Open XL C/C++ 1.1 for z/OS IBM XL C/C++ V2.4.1 for z/OS 2.4 and 2.5 IBM z/OS XL C/C++ 6589 -