summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-11-19 13:12:28 +0000
committerAndrew M. Kuchling <amk@amk.ca>2002-11-19 13:12:28 +0000
commit58e414fbe6bab66065fc5b5a0705980f578f4796 (patch)
tree8ec98899b65512d0d7b4290223d77b894c09b462
parent4461f74828aed6a205722c0d9e697f8425771f8c (diff)
downloadpython-setuptools-git-58e414fbe6bab66065fc5b5a0705980f578f4796.tar.gz
Add comment to Distutil files about requiring 1.5.2 compatibility, as
suggested by PEP 291.
-rw-r--r--__init__.py2
-rw-r--r--archive_util.py2
-rw-r--r--bcppcompiler.py2
-rw-r--r--ccompiler.py2
-rw-r--r--cmd.py2
-rw-r--r--command/__init__.py2
-rw-r--r--command/bdist.py2
-rw-r--r--command/bdist_dumb.py2
-rw-r--r--command/bdist_rpm.py2
-rw-r--r--command/bdist_wininst.py2
-rw-r--r--command/build.py2
-rw-r--r--command/build_clib.py2
-rw-r--r--command/build_ext.py2
-rw-r--r--command/build_py.py2
-rw-r--r--command/build_scripts.py2
-rw-r--r--command/clean.py2
-rw-r--r--command/config.py2
-rw-r--r--command/install.py2
-rw-r--r--command/install_data.py2
-rw-r--r--command/install_headers.py2
-rw-r--r--command/install_lib.py2
-rw-r--r--command/install_scripts.py2
-rw-r--r--command/sdist.py2
-rw-r--r--core.py2
-rw-r--r--cygwinccompiler.py2
-rw-r--r--debug.py4
-rw-r--r--dep_util.py2
-rw-r--r--dir_util.py2
-rw-r--r--dist.py2
-rw-r--r--errors.py2
-rw-r--r--fancy_getopt.py2
-rw-r--r--file_util.py2
-rw-r--r--filelist.py2
-rw-r--r--log.py2
-rw-r--r--msvccompiler.py3
-rw-r--r--mwerkscompiler.py4
-rw-r--r--spawn.py2
37 files changed, 78 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 1055aa39..7873d297 100644
--- a/__init__.py
+++ b/__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/archive_util.py b/archive_util.py
index 98c1e559..d1dc9095 100644
--- a/archive_util.py
+++ b/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/bcppcompiler.py b/bcppcompiler.py
index abe302a8..cfbe04ac 100644
--- a/bcppcompiler.py
+++ b/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/ccompiler.py b/ccompiler.py
index 3084947d..edb9f754 100644
--- a/ccompiler.py
+++ b/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/cmd.py b/cmd.py
index b35eb078..1165f951 100644
--- a/cmd.py
+++ b/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/command/__init__.py b/command/__init__.py
index e70429c8..fc611716 100644
--- a/command/__init__.py
+++ b/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/command/bdist.py b/command/bdist.py
index e0648f3b..7c606ffc 100644
--- a/command/bdist.py
+++ b/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/command/bdist_dumb.py b/command/bdist_dumb.py
index 7562b708..d1cce55b 100644
--- a/command/bdist_dumb.py
+++ b/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/command/bdist_rpm.py b/command/bdist_rpm.py
index a7bc45f4..237cc70d 100644
--- a/command/bdist_rpm.py
+++ b/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/command/bdist_wininst.py b/command/bdist_wininst.py
index c5cfd6d3..9c9fd109 100644
--- a/command/bdist_wininst.py
+++ b/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/command/build.py b/command/build.py
index 0643948c..78231541 100644
--- a/command/build.py
+++ b/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/command/build_clib.py b/command/build_clib.py
index fe921fb8..ef03ed72 100644
--- a/command/build_clib.py
+++ b/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/command/build_ext.py b/command/build_ext.py
index 0b3ef149..0c377681 100644
--- a/command/build_ext.py
+++ b/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/command/build_py.py b/command/build_py.py
index f61dc17a..258d6d4c 100644
--- a/command/build_py.py
+++ b/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/command/build_scripts.py b/command/build_scripts.py
index e4d6099b..b7c11d47 100644
--- a/command/build_scripts.py
+++ b/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/command/clean.py b/command/clean.py
index 36252d51..41b22777 100644
--- a/command/clean.py
+++ b/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/command/config.py b/command/config.py
index abfa1385..b6f5ad1d 100644
--- a/command/config.py
+++ b/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/command/install.py b/command/install.py
index 9adda468..5d5bdaa7 100644
--- a/command/install.py
+++ b/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/command/install_data.py b/command/install_data.py
index d0091ce2..5c1f18a9 100644
--- a/command/install_data.py
+++ b/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/command/install_headers.py b/command/install_headers.py
index 957ed239..3a37d309 100644
--- a/command/install_headers.py
+++ b/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/command/install_lib.py b/command/install_lib.py
index 5da1c7ae..daf3e010 100644
--- a/command/install_lib.py
+++ b/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/command/install_scripts.py b/command/install_scripts.py
index ceece1b6..6572e650 100644
--- a/command/install_scripts.py
+++ b/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/command/sdist.py b/command/sdist.py
index 91807e6a..c0b7dd45 100644
--- a/command/sdist.py
+++ b/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/core.py b/core.py
index 5be9e4ec..9ab419ef 100644
--- a/core.py
+++ b/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/cygwinccompiler.py b/cygwinccompiler.py
index 93f88038..18af388c 100644
--- a/cygwinccompiler.py
+++ b/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/debug.py b/debug.py
index 7ca76d6c..e195ebdc 100644
--- a/debug.py
+++ b/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/dep_util.py b/dep_util.py
index f4966548..0746633d 100644
--- a/dep_util.py
+++ b/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/dir_util.py b/dir_util.py
index d407e9ac..ca9fa9dc 100644
--- a/dir_util.py
+++ b/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/dist.py b/dist.py
index 3a690696..faeb7b10 100644
--- a/dist.py
+++ b/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/errors.py b/errors.py
index 963d8337..94e83fb5 100644
--- a/errors.py
+++ b/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/fancy_getopt.py b/fancy_getopt.py
index f78b0a68..a4a4e797 100644
--- a/fancy_getopt.py
+++ b/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/file_util.py b/file_util.py
index c2fa086f..e230ce58 100644
--- a/file_util.py
+++ b/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/filelist.py b/filelist.py
index 4b5d47d0..bfa53d21 100644
--- a/filelist.py
+++ b/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/log.py b/log.py
index 6aeb7c9a..0442033d 100644
--- a/log.py
+++ b/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/msvccompiler.py b/msvccompiler.py
index c2bd77de..65a50cc7 100644
--- a/msvccompiler.py
+++ b/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/mwerkscompiler.py b/mwerkscompiler.py
index 8f62bf7d..d546de1f 100644
--- a/mwerkscompiler.py
+++ b/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/spawn.py b/spawn.py
index f94817d4..6e0423b0 100644
--- a/spawn.py
+++ b/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