Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #3203 (again!) -- Install data files in the right place on MS W…


systems. Thanks, Karen Tracey and

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e73bf2bdd9a6342e8bf10c78ca94415e02cb8838 1 parent 54c313a
@malcolmt malcolmt authored
Showing with 6 additions and 0 deletions.
  1. +6 −0
@@ -59,6 +59,12 @@ def fullsplit(path, result=None):
elif filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
+# Small hack for working with bdist_wininst.
+# See
+if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst':
+ for file_info in data_files:
+ file_info[0] = '\\PURELIB\\%s' % file_info[0]
# Dynamically calculate the version based on django.VERSION.
version_tuple = __import__('django').VERSION
if version_tuple[2] is not None:
Please sign in to comment.
Something went wrong with that request. Please try again.