public
Description: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Homepage: http://www.djangoproject.com/
Clone URL: git://github.com/brosner/django.git
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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8041 
bcc190cf-cafb-0310-a4f2-bffc1f526a37
adrian (author)
Mon Jul 21 19:51:59 -0700 2008
commit  39e4d20ea9d1ad2096812be3a8f6714d228e06d6
tree    95993ab05323dec13cdd290541c5e28f6311c17e
parent  a62b8814b879b99b1bdc8a64bf56234476b5c222
...
5
6
7
8
9
10
 
 
 
11
12
13
14
15
 
 
 
16
17
18
19
20
21
 
22
23
 
24
25
26
...
5
6
7
 
 
 
8
9
10
11
12
 
 
 
13
14
15
16
17
18
19
20
 
21
22
 
23
24
25
26
0
@@ -5,22 +5,22 @@ import os
0
 import sys
0
 
0
 class osx_install_data(install_data):
0
- # On MacOS the plattform specific lib dir is /System/Library/Framework/Python/.../
0
- # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Aplle specific fix
0
- # for this in distutils.command.install_data#306 It fixes install_lib but not
0
+ # On MacOS, the platform-specific lib dir is /System/Library/Framework/Python/.../
0
+ # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Apple-specific fix
0
+ # for this in distutils.command.install_data#306. It fixes install_lib but not
0
     # install_data, which is why we roll our own install_data class.
0
 
0
- def finalize_options (self):
0
- # By the time finalize_options is called install.install_lib is set to the
0
- # fixed directory. so we set the installdir for to install_lib, the
0
+ def finalize_options(self):
0
+ # By the time finalize_options is called, install.install_lib is set to the
0
+ # fixed directory, so we set the installdir to install_lib. The
0
         # install_data class uses ('install_data', 'install_dir') instead.
0
         self.set_undefined_options('install', ('install_lib', 'install_dir'))
0
         install_data.finalize_options(self)
0
 
0
 if sys.platform == "darwin":
0
- cmdclasses = {'install_data': osx_install_data }
0
+ cmdclasses = {'install_data': osx_install_data}
0
 else:
0
- cmdclasses = {'install_data': install_data }
0
+ cmdclasses = {'install_data': install_data}
0
 
0
 def fullsplit(path, result=None):
0
     """

Comments

    No one has commented yet.