Changeset 4264
- Timestamp:
- 12/30/06 00:17:21 (2 years ago)
- Files:
-
- django/trunk/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/setup.py
r4195 r4264 2 2 from distutils.command.install import INSTALL_SCHEMES 3 3 import os 4 import sys 4 5 5 6 # Tell distutils to put the data_files in platform-specific installation … … 24 25 packages.append(package) 25 26 else: 26 data_files.append((dirpath, [os.path.join(dirpath, f) for f in filenames])) 27 data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) 28 29 # Small hack for working with bdist_wininst. 30 # See http://mail.python.org/pipermail/distutils-sig/2004-August/004134.html 31 if sys.argv[1] == 'bdist_wininst': 32 for file_info in data_files: 33 file_info[0] = '/PURELIB/%s' % file_info[0] 27 34 28 35 # Dynamically calculate the version based on django.VERSION.
