Commit 4320a750 authored by Senthil Kumaran's avatar Senthil Kumaran

Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer...

Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
parent 7d80bbfb
...@@ -8,8 +8,6 @@ used from a setup script as ...@@ -8,8 +8,6 @@ used from a setup script as
setup (...) setup (...)
""" """
__revision__ = "$Id$"
# Distutils version # Distutils version
# #
# Updated automatically by the Python release process. # Updated automatically by the Python release process.
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Utility functions for creating archive files (tarballs, zip files, Utility functions for creating archive files (tarballs, zip files,
that sort of thing).""" that sort of thing)."""
__revision__ = "$Id$"
import os import os
from warnings import warn from warnings import warn
import sys import sys
......
...@@ -11,8 +11,6 @@ for the Borland C++ compiler. ...@@ -11,8 +11,6 @@ for the Borland C++ compiler.
# someone should sit down and factor out the common code as # someone should sit down and factor out the common code as
# WindowsCCompiler! --GPW # WindowsCCompiler! --GPW
__revision__ = "$Id$"
import os import os
from distutils.errors import \ from distutils.errors import \
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Contains CCompiler, an abstract base class that defines the interface Contains CCompiler, an abstract base class that defines the interface
for the Distutils compiler abstraction model.""" for the Distutils compiler abstraction model."""
__revision__ = "$Id$"
import sys, os, re import sys, os, re
from distutils.errors import * from distutils.errors import *
from distutils.spawn import spawn from distutils.spawn import spawn
......
...@@ -4,8 +4,6 @@ Provides the Command class, the base class for the command classes ...@@ -4,8 +4,6 @@ Provides the Command class, the base class for the command classes
in the distutils.command package. in the distutils.command package.
""" """
__revision__ = "$Id$"
import sys, os, re import sys, os, re
from distutils.errors import DistutilsOptionError from distutils.errors import DistutilsOptionError
from distutils import util, dir_util, file_util, archive_util, dep_util from distutils import util, dir_util, file_util, archive_util, dep_util
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Package containing implementation of all the standard Distutils Package containing implementation of all the standard Distutils
commands.""" commands."""
__revision__ = "$Id$"
__all__ = ['build', __all__ = ['build',
'build_py', 'build_py',
'build_ext', 'build_ext',
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Implements the Distutils 'bdist' command (create a built [binary] Implements the Distutils 'bdist' command (create a built [binary]
distribution).""" distribution)."""
__revision__ = "$Id$"
import os import os
from distutils.core import Command from distutils.core import Command
from distutils.errors import * from distutils.errors import *
......
...@@ -4,8 +4,6 @@ Implements the Distutils 'bdist_dumb' command (create a "dumb" built ...@@ -4,8 +4,6 @@ Implements the Distutils 'bdist_dumb' command (create a "dumb" built
distribution -- i.e., just an archive to be unpacked under $prefix or distribution -- i.e., just an archive to be unpacked under $prefix or
$exec_prefix).""" $exec_prefix)."""
__revision__ = "$Id$"
import os import os
from distutils.core import Command from distutils.core import Command
from distutils.util import get_platform from distutils.util import get_platform
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Implements the Distutils 'bdist_rpm' command (create RPM source and binary Implements the Distutils 'bdist_rpm' command (create RPM source and binary
distributions).""" distributions)."""
__revision__ = "$Id$"
import sys, os import sys, os
from distutils.core import Command from distutils.core import Command
from distutils.debug import DEBUG from distutils.debug import DEBUG
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Implements the Distutils 'bdist_wininst' command: create a windows installer Implements the Distutils 'bdist_wininst' command: create a windows installer
exe-program.""" exe-program."""
__revision__ = "$Id$"
import sys, os import sys, os
from distutils.core import Command from distutils.core import Command
from distutils.util import get_platform from distutils.util import get_platform
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Implements the Distutils 'build' command.""" Implements the Distutils 'build' command."""
__revision__ = "$Id$"
import sys, os import sys, os
from distutils.core import Command from distutils.core import Command
from distutils.errors import DistutilsOptionError from distutils.errors import DistutilsOptionError
......
...@@ -4,8 +4,6 @@ Implements the Distutils 'build_clib' command, to build a C/C++ library ...@@ -4,8 +4,6 @@ Implements the Distutils 'build_clib' command, to build a C/C++ library
that is included in the module distribution and needed by an extension that is included in the module distribution and needed by an extension
module.""" module."""
__revision__ = "$Id$"
# XXX this module has *lots* of code ripped-off quite transparently from # XXX this module has *lots* of code ripped-off quite transparently from
# build_ext.py -- not surprisingly really, as the work required to build # build_ext.py -- not surprisingly really, as the work required to build
......
...@@ -4,8 +4,6 @@ Implements the Distutils 'build_ext' command, for building extension ...@@ -4,8 +4,6 @@ Implements the Distutils 'build_ext' command, for building extension
modules (currently limited to C extensions, should accommodate C++ modules (currently limited to C extensions, should accommodate C++
extensions ASAP).""" extensions ASAP)."""
__revision__ = "$Id$"
import sys, os, re import sys, os, re
from distutils.core import Command from distutils.core import Command
from distutils.errors import * from distutils.errors import *
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Implements the Distutils 'build_py' command.""" Implements the Distutils 'build_py' command."""
__revision__ = "$Id$"
import sys, os import sys, os
import sys import sys
from glob import glob from glob import glob
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Implements the Distutils 'build_scripts' command.""" Implements the Distutils 'build_scripts' command."""
__revision__ = "$Id$"
import os, re import os, re
from stat import ST_MODE from stat import ST_MODE
from distutils import sysconfig from distutils import sysconfig
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Implements the Distutils 'check' command. Implements the Distutils 'check' command.
""" """
__revision__ = "$Id$"
from distutils.core import Command from distutils.core import Command
from distutils.errors import DistutilsSetupError from distutils.errors import DistutilsSetupError
......
...@@ -4,8 +4,6 @@ Implements the Distutils 'clean' command.""" ...@@ -4,8 +4,6 @@ Implements the Distutils 'clean' command."""
# contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18 # contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18
__revision__ = "$Id$"
import os import os
from distutils.core import Command from distutils.core import Command
from distutils.dir_util import remove_tree from distutils.dir_util import remove_tree
......
...@@ -9,8 +9,6 @@ configure-like tasks: "try to compile this C code", or "figure out where ...@@ -9,8 +9,6 @@ configure-like tasks: "try to compile this C code", or "figure out where
this header file lives". this header file lives".
""" """
__revision__ = "$Id$"
import sys, os, re import sys, os, re
from distutils.core import Command from distutils.core import Command
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Implements the Distutils 'install' command.""" Implements the Distutils 'install' command."""
__revision__ = "$Id$"
import sys import sys
import os import os
......
...@@ -5,8 +5,6 @@ platform-independent data files.""" ...@@ -5,8 +5,6 @@ platform-independent data files."""
# contributed by Bastian Kleineidam # contributed by Bastian Kleineidam
__revision__ = "$Id$"
import os import os
from distutils.core import Command from distutils.core import Command
from distutils.util import change_root, convert_path from distutils.util import change_root, convert_path
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Implements the Distutils 'install_headers' command, to install C/C++ header Implements the Distutils 'install_headers' command, to install C/C++ header
files to the Python include directory.""" files to the Python include directory."""
__revision__ = "$Id$"
from distutils.core import Command from distutils.core import Command
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Implements the Distutils 'install_lib' command Implements the Distutils 'install_lib' command
(install all Python modules).""" (install all Python modules)."""
__revision__ = "$Id$"
import os import os
import sys import sys
......
...@@ -5,8 +5,6 @@ Python scripts.""" ...@@ -5,8 +5,6 @@ Python scripts."""
# contributed by Bastian Kleineidam # contributed by Bastian Kleineidam
__revision__ = "$Id$"
import os import os
from distutils.core import Command from distutils.core import Command
from distutils import log from distutils import log
......
...@@ -5,8 +5,6 @@ Implements the Distutils 'register' command (register with the repository). ...@@ -5,8 +5,6 @@ Implements the Distutils 'register' command (register with the repository).
# created 2002/10/21, Richard Jones # created 2002/10/21, Richard Jones
__revision__ = "$Id$"
import os, string, getpass import os, string, getpass
import io import io
import urllib.parse, urllib.request import urllib.parse, urllib.request
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Implements the Distutils 'sdist' command (create a source distribution).""" Implements the Distutils 'sdist' command (create a source distribution)."""
__revision__ = "$Id$"
import os import os
import string import string
import sys import sys
......
...@@ -6,8 +6,6 @@ indirectly provides the Distribution and Command classes, although they are ...@@ -6,8 +6,6 @@ indirectly provides the Distribution and Command classes, although they are
really defined in distutils.dist and distutils.cmd. really defined in distutils.dist and distutils.cmd.
""" """
__revision__ = "$Id$"
import os import os
import sys import sys
......
...@@ -45,8 +45,6 @@ cygwin in no-cygwin mode). ...@@ -45,8 +45,6 @@ cygwin in no-cygwin mode).
# * mingw gcc 3.2/ld 2.13 works # * mingw gcc 3.2/ld 2.13 works
# (ld supports -shared) # (ld supports -shared)
__revision__ = "$Id$"
import os import os
import sys import sys
import copy import copy
......
import os import os
__revision__ = "$Id$"
# If DISTUTILS_DEBUG is anything other than the empty string, we run in # If DISTUTILS_DEBUG is anything other than the empty string, we run in
# debug mode. # debug mode.
DEBUG = os.environ.get('DISTUTILS_DEBUG') DEBUG = os.environ.get('DISTUTILS_DEBUG')
...@@ -4,8 +4,6 @@ Utility functions for simple, timestamp-based dependency of files ...@@ -4,8 +4,6 @@ Utility functions for simple, timestamp-based dependency of files
and groups of files; also, function based entirely on such and groups of files; also, function based entirely on such
timestamp dependency analysis.""" timestamp dependency analysis."""
__revision__ = "$Id$"
import os import os
from distutils.errors import DistutilsFileError from distutils.errors import DistutilsFileError
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
Utility functions for manipulating directories and directory trees.""" Utility functions for manipulating directories and directory trees."""
__revision__ = "$Id$"
import os, sys import os, sys
import errno import errno
from distutils.errors import DistutilsFileError, DistutilsInternalError from distutils.errors import DistutilsFileError, DistutilsInternalError
......
...@@ -4,8 +4,6 @@ Provides the Distribution class, which represents the module distribution ...@@ -4,8 +4,6 @@ Provides the Distribution class, which represents the module distribution
being built/installed/distributed. being built/installed/distributed.
""" """
__revision__ = "$Id$"
import sys, os, re import sys, os, re
try: try:
......
...@@ -19,8 +19,6 @@ handles the EMX port of the GNU C compiler to OS/2. ...@@ -19,8 +19,6 @@ handles the EMX port of the GNU C compiler to OS/2.
# #
# * EMX gcc 2.81/EMX 0.9d fix03 # * EMX gcc 2.81/EMX 0.9d fix03
__revision__ = "$Id$"
import os,sys,copy import os,sys,copy
from distutils.ccompiler import gen_preprocess_options, gen_lib_options from distutils.ccompiler import gen_preprocess_options, gen_lib_options
from distutils.unixccompiler import UnixCCompiler from distutils.unixccompiler import UnixCCompiler
......
...@@ -8,8 +8,6 @@ usually raised for errors that are obviously the end-user's fault ...@@ -8,8 +8,6 @@ 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 This module is safe to use in "from ... import *" mode; it only exports
symbols whose names start with "Distutils" and end with "Error".""" symbols whose names start with "Distutils" and end with "Error"."""
__revision__ = "$Id$"
class DistutilsError (Exception): class DistutilsError (Exception):
"""The root of all Distutils evil.""" """The root of all Distutils evil."""
pass pass
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Provides the Extension class, used to describe C/C++ extension Provides the Extension class, used to describe C/C++ extension
modules in setup scripts.""" modules in setup scripts."""
__revision__ = "$Id$"
import os import os
import sys import sys
import warnings import warnings
......
...@@ -8,8 +8,6 @@ additional features: ...@@ -8,8 +8,6 @@ additional features:
* options set attributes of a passed-in object * options set attributes of a passed-in object
""" """
__revision__ = "$Id$"
import sys, string, re import sys, string, re
import getopt import getopt
from distutils.errors import * from distutils.errors import *
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
Utility functions for operating on single files. Utility functions for operating on single files.
""" """
__revision__ = "$Id$"
import os import os
from distutils.errors import DistutilsFileError from distutils.errors import DistutilsFileError
from distutils import log from distutils import log
......
...@@ -4,8 +4,6 @@ Provides the FileList class, used for poking about the filesystem ...@@ -4,8 +4,6 @@ Provides the FileList class, used for poking about the filesystem
and building lists of files. and building lists of files.
""" """
__revision__ = "$Id$"
import os, re import os, re
import fnmatch import fnmatch
from distutils.util import convert_path from distutils.util import convert_path
......
...@@ -12,8 +12,6 @@ for older versions of VS in distutils.msvccompiler. ...@@ -12,8 +12,6 @@ for older versions of VS in distutils.msvccompiler.
# finding DevStudio (through the registry) # finding DevStudio (through the registry)
# ported to VS2005 and VS 2008 by Christian Heimes # ported to VS2005 and VS 2008 by Christian Heimes
__revision__ = "$Id$"
import os import os
import subprocess import subprocess
import sys import sys
......
...@@ -8,8 +8,6 @@ for the Microsoft Visual Studio. ...@@ -8,8 +8,6 @@ for the Microsoft Visual Studio.
# hacked by Robin Becker and Thomas Heller to do a better job of # hacked by Robin Becker and Thomas Heller to do a better job of
# finding DevStudio (through the registry) # finding DevStudio (through the registry)
__revision__ = "$Id$"
import sys, os import sys, os
from distutils.errors import \ from distutils.errors import \
DistutilsExecError, DistutilsPlatformError, \ DistutilsExecError, DistutilsPlatformError, \
......
...@@ -6,8 +6,6 @@ Also provides the 'find_executable()' to search the path for a given ...@@ -6,8 +6,6 @@ Also provides the 'find_executable()' to search the path for a given
executable name. executable name.
""" """
__revision__ = "$Id$"
import sys import sys
import os import os
......
...@@ -9,8 +9,6 @@ Written by: Fred L. Drake, Jr. ...@@ -9,8 +9,6 @@ Written by: Fred L. Drake, Jr.
Email: <fdrake@acm.org> Email: <fdrake@acm.org>
""" """
__revision__ = "$Id$"
import os import os
import re import re
import sys import sys
......
"""Tests for distutils.archive_util.""" """Tests for distutils.archive_util."""
__revision__ = "$Id$"
import unittest import unittest
import os import os
import tarfile import tarfile
......
...@@ -4,8 +4,6 @@ provides the TextFile class, which gives an interface to text files ...@@ -4,8 +4,6 @@ provides the TextFile class, which gives an interface to text files
that (optionally) takes care of stripping comments, ignoring blank that (optionally) takes care of stripping comments, ignoring blank
lines, and joining lines with backslashes.""" lines, and joining lines with backslashes."""
__revision__ = "$Id$"
import sys, os, io import sys, os, io
......
...@@ -13,8 +13,6 @@ the "typical" Unix-style command-line C compiler: ...@@ -13,8 +13,6 @@ the "typical" Unix-style command-line C compiler:
* link shared library handled by 'cc -shared' * link shared library handled by 'cc -shared'
""" """
__revision__ = "$Id$"
import os, sys, re import os, sys, re
from distutils import sysconfig from distutils import sysconfig
......
...@@ -4,8 +4,6 @@ Miscellaneous utility functions -- anything that doesn't fit into ...@@ -4,8 +4,6 @@ Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules. one of the other *util.py modules.
""" """
__revision__ = "$Id$"
import sys, os, string, re import sys, os, string, re
from distutils.errors import DistutilsPlatformError from distutils.errors import DistutilsPlatformError
from distutils.dep_util import newer from distutils.dep_util import newer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment