summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-11-19 13:12:28 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-11-19 13:12:28 (GMT)
commitd448f66317130555cfc157683c743b3d004374c4 (patch)
tree35f3a3ffc03f61b551e6b73dee7fadd105b48395 /Lib
parent6f429c3d1c215443869d8e5a8176e9beeeb03421 (diff)
downloadcpython-d448f66317130555cfc157683c743b3d004374c4.zip
cpython-d448f66317130555cfc157683c743b3d004374c4.tar.gz
cpython-d448f66317130555cfc157683c743b3d004374c4.tar.bz2
Add comment to Distutil files about requiring 1.5.2 compatibility, as
suggested by PEP 291.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/__init__.py2
-rw-r--r--Lib/distutils/archive_util.py2
-rw-r--r--Lib/distutils/bcppcompiler.py2
-rw-r--r--Lib/distutils/ccompiler.py2
-rw-r--r--Lib/distutils/cmd.py2
-rw-r--r--Lib/distutils/command/__init__.py2
-rw-r--r--Lib/distutils/command/bdist.py2
-rw-r--r--Lib/distutils/command/bdist_dumb.py2
-rw-r--r--Lib/distutils/command/bdist_rpm.py2
-rw-r--r--Lib/distutils/command/bdist_wininst.py2
-rw-r--r--Lib/distutils/command/build.py2
-rw-r--r--Lib/distutils/command/build_clib.py2
-rw-r--r--Lib/distutils/command/build_ext.py2
-rw-r--r--Lib/distutils/command/build_py.py2
-rw-r--r--Lib/distutils/command/build_scripts.py2
-rw-r--r--Lib/distutils/command/clean.py2
-rw-r--r--Lib/distutils/command/config.py2
-rw-r--r--Lib/distutils/command/install.py2
-rw-r--r--Lib/distutils/command/install_data.py2
-rw-r--r--Lib/distutils/command/install_headers.py2
-rw-r--r--Lib/distutils/command/install_lib.py2
-rw-r--r--Lib/distutils/command/install_scripts.py2
-rw-r--r--Lib/distutils/command/sdist.py2
-rw-r--r--Lib/distutils/core.py2
-rw-r--r--Lib/distutils/cygwinccompiler.py2
-rw-r--r--Lib/distutils/debug.py4
-rw-r--r--Lib/distutils/dep_util.py2
-rw-r--r--Lib/distutils/dir_util.py2
-rw-r--r--Lib/distutils/dist.py2
-rw-r--r--Lib/distutils/errors.py2
-rw-r--r--Lib/distutils/fancy_getopt.py2
-rw-r--r--Lib/distutils/file_util.py2
-rw-r--r--Lib/distutils/filelist.py2
-rw-r--r--Lib/distutils/log.py2
-rw-r--r--Lib/distutils/msvccompiler.py3
-rw-r--r--Lib/distutils/mwerkscompiler.py4
-rw-r--r--Lib/distutils/spawn.py2
37 files changed, 78 insertions, 1 deletions
diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py
index 1055aa3..7873d29 100644
--- a/Lib/distutils/__init__.py
+++ b/Lib/distutils/__init__.py
@@ -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"
diff --git a/Lib/distutils/archive_util.py b/Lib/distutils/archive_util.py
index 98c1e55..d1dc909 100644
--- a/Lib/distutils/archive_util.py
+++ b/Lib/distutils/archive_util.py
@@ -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
diff --git a/Lib/distutils/bcppcompiler.py b/Lib/distutils/bcppcompiler.py
index abe302a..cfbe04a 100644
--- a/Lib/distutils/bcppcompiler.py
+++ b/Lib/distutils/bcppcompiler.py
@@ -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$"
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py
index 3084947..edb9f75 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -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
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py
index b35eb07..1165f95 100644
--- a/Lib/distutils/cmd.py
+++ b/Lib/distutils/cmd.py
@@ -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
diff --git a/Lib/distutils/command/__init__.py b/Lib/distutils/command/__init__.py
index e70429c..fc61171 100644
--- a/Lib/distutils/command/__init__.py
+++ b/Lib/distutils/command/__init__.py
@@ -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',
diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py
index e0648f3..7c606ff 100644
--- a/Lib/distutils/command/bdist.py
+++ b/Lib/distutils/command/bdist.py
@@ -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
diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py
index 7562b70..d1cce55 100644
--- a/Lib/distutils/command/bdist_dumb.py
+++ b/Lib/distutils/command/bdist_dumb.py
@@ -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
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py
index a7bc45f..237cc70 100644
--- a/Lib/distutils/command/bdist_rpm.py
+++ b/Lib/distutils/command/bdist_rpm.py
@@ -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
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
index c5cfd6d..9c9fd10 100644
--- a/Lib/distutils/command/bdist_wininst.py
+++ b/Lib/distutils/command/bdist_wininst.py
@@ -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
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index 0643948..7823154 100644
--- a/Lib/distutils/command/build.py
+++ b/Lib/distutils/command/build.py
@@ -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
diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py
index fe921fb..ef03ed7 100644
--- a/Lib/distutils/command/build_clib.py
+++ b/Lib/distutils/command/build_clib.py
@@ -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$"
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 0b3ef14..0c37768 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -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
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py
index f61dc17..258d6d4 100644
--- a/Lib/distutils/command/build_py.py
+++ b/Lib/distutils/command/build_py.py
@@ -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
diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py
index e4d6099..b7c11d4 100644
--- a/Lib/distutils/command/build_scripts.py
+++ b/Lib/distutils/command/build_scripts.py
@@ -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
diff --git a/Lib/distutils/command/clean.py b/Lib/distutils/command/clean.py
index 36252d5..41b2277 100644
--- a/Lib/distutils/command/clean.py
+++ b/Lib/distutils/command/clean.py
@@ -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
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py
index abfa138..b6f5ad1 100644
--- a/Lib/distutils/command/config.py
+++ b/Lib/distutils/command/config.py
@@ -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
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 9adda46..5d5bdaa 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -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
diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py
index d0091ce..5c1f18a 100644
--- a/Lib/distutils/command/install_data.py
+++ b/Lib/distutils/command/install_data.py
@@ -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
diff --git a/Lib/distutils/command/install_headers.py b/Lib/distutils/command/install_headers.py
index 957ed23..3a37d30 100644
--- a/Lib/distutils/command/install_headers.py
+++ b/Lib/distutils/command/install_headers.py
@@ -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
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py
index 5da1c7a..daf3e01 100644
--- a/Lib/distutils/command/install_lib.py
+++ b/Lib/distutils/command/install_lib.py
@@ -1,3 +1,5 @@
+# This module should be kept compatible with Python 1.5.2.
+
__revision__ = "$Id$"
import sys, os, string
diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py
index ceece1b..6572e65 100644
--- a/Lib/distutils/command/install_scripts.py
+++ b/Lib/distutils/command/install_scripts.py
@@ -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
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index 91807e6..c0b7dd4 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -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
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index 5be9e4e..9ab419e 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -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
diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
index 93f8803..18af388 100644
--- a/Lib/distutils/cygwinccompiler.py
+++ b/Lib/distutils/cygwinccompiler.py
@@ -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
diff --git a/Lib/distutils/debug.py b/Lib/distutils/debug.py
index 7ca76d6..e195ebd 100644
--- a/Lib/distutils/debug.py
+++ b/Lib/distutils/debug.py
@@ -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')
diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py
index f496654..0746633 100644
--- a/Lib/distutils/dep_util.py
+++ b/Lib/distutils/dep_util.py
@@ -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
diff --git a/Lib/distutils/dir_util.py b/Lib/distutils/dir_util.py
index d407e9a..ca9fa9d 100644
--- a/Lib/distutils/dir_util.py
+++ b/Lib/distutils/dir_util.py
@@ -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
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 3a69069..faeb7b1 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -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
diff --git a/Lib/distutils/errors.py b/Lib/distutils/errors.py
index 963d833..94e83fb 100644
--- a/Lib/distutils/errors.py
+++ b/Lib/distutils/errors.py
@@ -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):
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index f78b0a6..a4a4e79 100644
--- a/Lib/distutils/fancy_getopt.py
+++ b/Lib/distutils/fancy_getopt.py
@@ -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
diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py
index c2fa086..e230ce5 100644
--- a/Lib/distutils/file_util.py
+++ b/Lib/distutils/file_util.py
@@ -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
diff --git a/Lib/distutils/filelist.py b/Lib/distutils/filelist.py
index 4b5d47d..bfa53d2 100644
--- a/Lib/distutils/filelist.py
+++ b/Lib/distutils/filelist.py
@@ -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
diff --git a/Lib/distutils/log.py b/Lib/distutils/log.py
index 6aeb7c9..0442033 100644
--- a/Lib/distutils/log.py
+++ b/Lib/distutils/log.py
@@ -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.
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index c2bd77d..65a50cc 100644
--- a/Lib/distutils/msvccompiler.py
+++ b/Lib/distutils/msvccompiler.py
@@ -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
diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py
index 8f62bf7..d546de1 100644
--- a/Lib/distutils/mwerkscompiler.py
+++ b/Lib/distutils/mwerkscompiler.py
@@ -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 \
diff --git a/Lib/distutils/spawn.py b/Lib/distutils/spawn.py
index f94817d..6e0423b 100644
--- a/Lib/distutils/spawn.py
+++ b/Lib/distutils/spawn.py
@@ -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