]> granicus.if.org Git - python/commitdiff
Add comment to Distutil files about requiring 1.5.2 compatibility, as
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 19 Nov 2002 13:12:28 +0000 (13:12 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 19 Nov 2002 13:12:28 +0000 (13:12 +0000)
    suggested by PEP 291.

37 files changed:
Lib/distutils/__init__.py
Lib/distutils/archive_util.py
Lib/distutils/bcppcompiler.py
Lib/distutils/ccompiler.py
Lib/distutils/cmd.py
Lib/distutils/command/__init__.py
Lib/distutils/command/bdist.py
Lib/distutils/command/bdist_dumb.py
Lib/distutils/command/bdist_rpm.py
Lib/distutils/command/bdist_wininst.py
Lib/distutils/command/build.py
Lib/distutils/command/build_clib.py
Lib/distutils/command/build_ext.py
Lib/distutils/command/build_py.py
Lib/distutils/command/build_scripts.py
Lib/distutils/command/clean.py
Lib/distutils/command/config.py
Lib/distutils/command/install.py
Lib/distutils/command/install_data.py
Lib/distutils/command/install_headers.py
Lib/distutils/command/install_lib.py
Lib/distutils/command/install_scripts.py
Lib/distutils/command/sdist.py
Lib/distutils/core.py
Lib/distutils/cygwinccompiler.py
Lib/distutils/debug.py
Lib/distutils/dep_util.py
Lib/distutils/dir_util.py
Lib/distutils/dist.py
Lib/distutils/errors.py
Lib/distutils/fancy_getopt.py
Lib/distutils/file_util.py
Lib/distutils/filelist.py
Lib/distutils/log.py
Lib/distutils/msvccompiler.py
Lib/distutils/mwerkscompiler.py
Lib/distutils/spawn.py

index 1055aa39c104fd59fb428ee427595002e2951b02..7873d297b3e17eb0c5d5262dd5d7f94ee4af604f 100644 (file)
@@ -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"
index 98c1e559508e8b12fa54eec19478b789ebc15d73..d1dc90952038a362e82b9383a3b313037071827e 100644 (file)
@@ -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
index abe302a80441a7342e19fcf21827dcf3664f0da9..cfbe04ac01ec851eb360a7ccf43a8acdba71866a 100644 (file)
@@ -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$"
 
 
index 3084947d586434b9a12615c81b813a46970fa2c1..edb9f7542f7cac63bed1ad135650068fdf9d02de 100644 (file)
@@ -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
index b35eb07855aa7f9e3e09b767d4bd994a2608bf29..1165f95124f8a4b5b93336011915cf4c1ce4f293 100644 (file)
@@ -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
index e70429c8077e8a1c0753ca87902a3b3b216c0350..fc6117166b8ad067f3d46ef0652e9a466375d34d 100644 (file)
@@ -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',
index e0648f3bdd11e01d185547f5ba6b99f586c84952..7c606ffc4df0185cb1515e9b0ff16575a6c67ba0 100644 (file)
@@ -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
index 7562b7081258f65954ead68462f0712d4b043eb8..d1cce55b20094418e14ecc68bf2b28099072151f 100644 (file)
@@ -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
index a7bc45f481f53047791a782bcbe53d4bcb54db8a..237cc70d2551df29af3b6dd8094dc1c6f0e0dcb4 100644 (file)
@@ -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
index c5cfd6d31b7741533d4ca5914ff33ee6c63d9fe6..9c9fd109181fefeaf6e1dd7262611ea18180e3bc 100644 (file)
@@ -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
index 0643948c926d84a63cf542c41089cb33ca92a7cd..78231541ec286d04ff3ae3652c6bc4031fc3b6d3 100644 (file)
@@ -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
index fe921fb88b5026bb1e8b4211e0158700d982b6a2..ef03ed7269aea8b4ff2babd2f51813a62a0f708c 100644 (file)
@@ -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$"
 
 
index 0b3ef1493379c0b45451759cf68f669412695c00..0c377681793f02be91084cae0eb46cfb75f07702 100644 (file)
@@ -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
index f61dc17a18c4d2c8c02f6b646b22686e4e028955..258d6d4ca04a9cf6accf2efa65024d7053040ff5 100644 (file)
@@ -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
index e4d6099bd5725c00ad58f3c5e5eab404853c4680..b7c11d472b3467a7d9b6adcfcd32c6e110f36a89 100644 (file)
@@ -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
index 36252d5174245e214c6aa099f6c08e8ee94db423..41b22777bced9d54f7d7dcd5cc4be410e55762e8 100644 (file)
@@ -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
index abfa13853093d1b197a23bfbd4a787151a000019..b6f5ad1dc5a2d1b0b6bd13a3598d660cefc53bec 100644 (file)
@@ -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
index 9adda4688a7a3cb6ab259f0f795e87e593285a6e..5d5bdaa77efcf5287bed2bd430e7d91979a7b8f2 100644 (file)
@@ -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
index d0091ce23853e86f033270771a1a81cb4098a56b..5c1f18a9f2662c43d12a36773145c641911e7bec 100644 (file)
@@ -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
index 957ed239b1bf19cf85b6747be08904b98ac1f72f..3a37d309f90d0c16ade07bb7836be200bca845e0 100644 (file)
@@ -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
index 5da1c7aea7ab85edb6b607c5d2311a3add0191fc..daf3e010fdf050b2a7ad782f6c7064c34e964843 100644 (file)
@@ -1,3 +1,5 @@
+# This module should be kept compatible with Python 1.5.2.
+
 __revision__ = "$Id$"
 
 import sys, os, string
index ceece1b6bfda2d76b371e1386f8677b2a0857e82..6572e650d417f6efa84452f871c473da015f8cca 100644 (file)
@@ -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
index 91807e6a3f97bb51816894812b389dba6f028b32..c0b7dd45d977811e2c1b3e749ccdcfc083cb7a95 100644 (file)
@@ -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
index 5be9e4ec295c56abc3b40bbe79c6f34e51e3d92b..9ab419ef4c1626d469755f65f1441a4b0201aa7a 100644 (file)
@@ -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
index 93f88038474df2d3f1ed084d525f133c75b57ee3..18af388c3c8e8d602b3ea804a0397001f987fe52 100644 (file)
@@ -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
index 7ca76d6c5c66d8a7a46799d8d272457989b0345a..e195ebdcdf7eb932353dc46097db6cf44868964d 100644 (file)
@@ -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')
index f49665483af0729b38d46d975ced5d693aea8a29..0746633d23032239fa99143c06753dc644007fd8 100644 (file)
@@ -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
index d407e9ac5b561d0d2e149b0a6dbedbbab9ec8f52..ca9fa9dc7fcb09afec6fa83fb717066a65a3be7a 100644 (file)
@@ -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
index 3a690696bb57c499be8737ff981507389155a3b9..faeb7b10b3a91ad7fea7a954f44d6d76c33bd047 100644 (file)
@@ -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
index 963d83377c08f23ec39e05b43eacca0f5a329225..94e83fb557ce34f0f90c23cfe629dd3260fe6dd1 100644 (file)
@@ -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):
index f78b0a6854416c7a0e91f1dded1bbdb90f5bb176..a4a4e7979eee834940725adf5204c8d53135bfc5 100644 (file)
@@ -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
index c2fa086f0510826db8b5123e385aefb850be015a..e230ce587e26a5758d4250ec7fa4318ead8dc090 100644 (file)
@@ -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
index 4b5d47d02ff9c82cf7772c7234858e4ac340a61a..bfa53d21332af8e0c7ccb7aee14d93157986085b 100644 (file)
@@ -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
index 6aeb7c9aac5843591b47d4c2bd69f5015d8533a5..0442033d66d895512a009db50eb6053208db08ce 100644 (file)
@@ -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.
 
index c2bd77de4466e778561d0af56a5273bd8646bb1d..65a50cc79a4a839713c62277a4a4180e0fe18c13 100644 (file)
@@ -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
index 8f62bf7d878af2cf74b1fd7d264b24b8a239beb2..d546de1f2553696295288447c1757601634ee92c 100644 (file)
@@ -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 \
index f94817d498826b98b5bd4487b755a8df1c1392b5..6e0423b099f0803931d92a24c41c717f8d56328b 100644 (file)
@@ -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