Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/distutils/command/install.py

    r10 r391  
    77# This module should be kept compatible with Python 2.1.
    88
    9 __revision__ = "$Id: install.py 62788 2008-05-06 22:41:46Z christian.heimes $"
     9__revision__ = "$Id$"
    1010
    1111import sys, os, string
     
    7070        'data'   : '$userbase',
    7171        },
    72     'mac': {
    73         'purelib': '$base/Lib/site-packages',
    74         'platlib': '$base/Lib/site-packages',
    75         'headers': '$base/Include/$dist_name',
    76         'scripts': '$base/Scripts',
    77         'data'   : '$base',
    78         },
    79     'mac_user': {
    80         'purelib': '$usersite',
    81         'platlib': '$usersite',
    82         'headers': '$userbase/$py_version_short/include/$dist_name',
    83         'scripts': '$userbase/bin',
    84         'data'   : '$userbase',
    85         },
    8672    'os2': {
    8773        'purelib': '$base/Lib/site-packages',
     
    280266        if self.user and (self.prefix or self.exec_prefix or self.home or
    281267                self.install_base or self.install_platbase):
    282             raise DistutilsOptionError("can't combine user with with prefix/"
    283                                        "exec_prefix/home or install_(plat)base")
     268            raise DistutilsOptionError("can't combine user with prefix, "
     269                                       "exec_prefix/home, or install_(plat)base")
    284270
    285271        # Next, stuff that's wrong (or dubious) only on certain platforms.
Note: See TracChangeset for help on using the changeset viewer.