Ticket #3203: setup.diff
File setup.diff, 683 bytes (added by , 16 years ago) |
---|
-
setup.py
59 59 elif filenames: 60 60 data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) 61 61 62 # Small hack for working with bdist_wininst. 63 # See http://mail.python.org/pipermail/distutils-sig/2004-August/004134.html 64 if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst': 65 for file_info in data_files: 66 file_info[0] = '\\PURELIB\\%s' % file_info[0] 67 62 68 # Dynamically calculate the version based on django.VERSION. 63 69 version_tuple = __import__('django').VERSION 64 70 if version_tuple[2] is not None: