Django

Code

Show
Ignore:
Timestamp:
07/21/08 21:51:59 (6 months ago)
Author:
adrian
Message:

Fixed badly worded comment in setup.py osx_install_data(). It's better but still doesn't do a good job of explaining what the heck is going on

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/setup.py

    r8019 r8041  
    66 
    77class osx_install_data(install_data): 
    8     # On MacOS the plattform specific lib dir is /System/Library/Framework/Python/.../ 
    9     # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Aplle specific fix 
    10     # for this in distutils.command.install_data#306 It fixes install_lib but not 
     8    # On MacOS, the platform-specific lib dir is /System/Library/Framework/Python/.../ 
     9    # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Apple-specific fix 
     10    # for this in distutils.command.install_data#306. It fixes install_lib but not 
    1111    # install_data, which is why we roll our own install_data class. 
    1212 
    13     def finalize_options (self): 
    14         # By the time finalize_options is called install.install_lib is set to the 
    15         # fixed directory. so we set the installdir for to install_lib, the 
     13    def finalize_options(self): 
     14        # By the time finalize_options is called, install.install_lib is set to the 
     15        # fixed directory, so we set the installdir to install_lib. The 
    1616        # install_data class uses ('install_data', 'install_dir') instead. 
    1717        self.set_undefined_options('install', ('install_lib', 'install_dir')) 
     
    1919 
    2020if sys.platform == "darwin":  
    21     cmdclasses = {'install_data': osx_install_data }  
     21    cmdclasses = {'install_data': osx_install_data}  
    2222else:  
    23     cmdclasses = {'install_data': install_data }  
     23    cmdclasses = {'install_data': install_data}  
    2424 
    2525def fullsplit(path, result=None):