Add comment to Distutil files about requiring 1.5.2 compatibility, as
suggested by PEP 291.
This commit is contained in:
parent
6f429c3d1c
commit
d448f66317
|
@ -8,6 +8,8 @@ used from a setup script as
|
|||
setup (...)
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
__version__ = "1.0.3"
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Utility functions for creating archive files (tarballs, zip files,
|
||||
that sort of thing)."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -11,6 +11,8 @@ for the Borland C++ compiler.
|
|||
# someone should sit down and factor out the common code as
|
||||
# WindowsCCompiler! --GPW
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Contains CCompiler, an abstract base class that defines the interface
|
||||
for the Distutils compiler abstraction model."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, re
|
||||
|
|
|
@ -4,6 +4,8 @@ Provides the Command class, the base class for the command classes
|
|||
in the distutils.command package.
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string, re
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Package containing implementation of all the standard Distutils
|
||||
commands."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
__all__ = ['build',
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Implements the Distutils 'bdist' command (create a built [binary]
|
||||
distribution)."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os, string
|
||||
|
|
|
@ -4,6 +4,8 @@ Implements the Distutils 'bdist_dumb' command (create a "dumb" built
|
|||
distribution -- i.e., just an archive to be unpacked under $prefix or
|
||||
$exec_prefix)."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Implements the Distutils 'bdist_rpm' command (create RPM source and binary
|
||||
distributions)."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Implements the Distutils 'bdist_wininst' command: create a windows installer
|
||||
exe-program."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Implements the Distutils 'build' command."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os
|
||||
|
|
|
@ -4,6 +4,8 @@ Implements the Distutils 'build_clib' command, to build a C/C++ library
|
|||
that is included in the module distribution and needed by an extension
|
||||
module."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ Implements the Distutils 'build_ext' command, for building extension
|
|||
modules (currently limited to C extensions, should accommodate C++
|
||||
extensions ASAP)."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string, re
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Implements the Distutils 'build_py' command."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, string, os
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Implements the Distutils 'build_scripts' command."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, re
|
||||
|
|
|
@ -4,6 +4,8 @@ Implements the Distutils 'clean' command."""
|
|||
|
||||
# contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -9,6 +9,8 @@ configure-like tasks: "try to compile this C code", or "figure out where
|
|||
this header file lives".
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string, re
|
||||
|
|
|
@ -4,6 +4,8 @@ Implements the Distutils 'install' command."""
|
|||
|
||||
from distutils import log
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
|
@ -5,6 +5,8 @@ platform-independent data files."""
|
|||
|
||||
# contributed by Bastian Kleineidam
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Implements the Distutils 'install_headers' command, to install C/C++ header
|
||||
files to the Python include directory."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
|
@ -5,6 +5,8 @@ Python scripts."""
|
|||
|
||||
# contributed by Bastian Kleineidam
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Implements the Distutils 'sdist' command (create a source distribution)."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
|
@ -6,6 +6,8 @@ indirectly provides the Distribution and Command classes, although they are
|
|||
really defined in distutils.dist and distutils.cmd.
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os
|
||||
|
|
|
@ -41,6 +41,8 @@ cygwin in no-cygwin mode).
|
|||
# in the dlls.
|
||||
# *** only the version of June 2000 shows these problems
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os,sys,copy
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
import os
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
# If DISTUTILS_DEBUG is anything other than the empty string, we run in
|
||||
# debug mode.
|
||||
DEBUG = os.environ.get('DISTUTILS_DEBUG')
|
||||
|
|
|
@ -4,6 +4,8 @@ Utility functions for simple, timestamp-based dependency of files
|
|||
and groups of files; also, function based entirely on such
|
||||
timestamp dependency analysis."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Utility functions for manipulating directories and directory trees."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -4,6 +4,8 @@ Provides the Distribution class, which represents the module distribution
|
|||
being built/installed/distributed.
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string, re
|
||||
|
|
|
@ -8,6 +8,8 @@ usually raised for errors that are obviously the end-user's fault
|
|||
This module is safe to use in "from ... import *" mode; it only exports
|
||||
symbols whose names start with "Distutils" and end with "Error"."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
class DistutilsError (Exception):
|
||||
|
|
|
@ -8,6 +8,8 @@ additional features:
|
|||
* options set attributes of a passed-in object
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, string, re
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Utility functions for operating on single files.
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
|
@ -4,6 +4,8 @@ Provides the FileList class, used for poking about the filesystem
|
|||
and building lists of files.
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os, string, re
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
"""A simple log mechanism styled after PEP 282."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
# The class here is styled after PEP 282 so that it could later be
|
||||
# replaced with a standard Python logging implementation.
|
||||
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
Contains MSVCCompiler, an implementation of the abstract CCompiler class
|
||||
for the Microsoft Visual Studio."""
|
||||
|
||||
|
||||
# Written by Perry Stoll
|
||||
# hacked by Robin Becker and Thomas Heller to do a better job of
|
||||
# finding DevStudio (through the registry)
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
|
@ -4,6 +4,10 @@ Contains MWerksCompiler, an implementation of the abstract CCompiler class
|
|||
for MetroWerks CodeWarrior on the Macintosh. Needs work to support CW on
|
||||
Windows."""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
from types import *
|
||||
from distutils.errors import \
|
||||
|
|
|
@ -6,6 +6,8 @@ Also provides the 'find_executable()' to search the path for a given
|
|||
executable name.
|
||||
"""
|
||||
|
||||
# This module should be kept compatible with Python 1.5.2.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import sys, os, string
|
||||
|
|
Loading…
Reference in New Issue