Ticket #3536: bdist_wininst.patch
File bdist_wininst.patch, 653 bytes (added by , 18 years ago) |
---|
-
setup.py
26 26 else: 27 27 data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) 28 28 29 # Small hack for working with bdist_wininst.30 # See http://mail.python.org/pipermail/distutils-sig/2004-August/004134.html31 if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst':32 for file_info in data_files:33 file_info[0] = '/PURELIB/%s' % file_info[0]34 35 29 # Dynamically calculate the version based on django.VERSION. 36 30 version = "%d.%d-%s" % (__import__('django').VERSION) 37 31