Changeset 8041
- Timestamp:
- 07/21/08 21:51:59 (6 months ago)
- Files:
-
- django/trunk/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/setup.py
r8019 r8041 6 6 7 7 class osx_install_data(install_data): 8 # On MacOS the plattformspecific lib dir is /System/Library/Framework/Python/.../9 # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Ap llespecific fix10 # for this in distutils.command.install_data#306 It fixes install_lib but not8 # 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 11 11 # install_data, which is why we roll our own install_data class. 12 12 13 def finalize_options (self):14 # By the time finalize_options is called install.install_lib is set to the15 # fixed directory . so we set the installdir for to install_lib, the13 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 16 16 # install_data class uses ('install_data', 'install_dir') instead. 17 17 self.set_undefined_options('install', ('install_lib', 'install_dir')) … … 19 19 20 20 if sys.platform == "darwin": 21 cmdclasses = {'install_data': osx_install_data }21 cmdclasses = {'install_data': osx_install_data} 22 22 else: 23 cmdclasses = {'install_data': install_data }23 cmdclasses = {'install_data': install_data} 24 24 25 25 def fullsplit(path, result=None):
