Tim Savage committed f418905

Fixed bug causing static files to be copied to the wrong location.

Appears to be an issue with distutils, using a workaround for the issue.

Comments (0)

Files changed (1)

 from distutils.core import setup
-from distutils.command.install_data import install_data
+import os
+# Hack to force dist utils to install data files in correct location along with
+# Python package.
 from distutils.command.install import INSTALL_SCHEMES
-from distutils.sysconfig import get_python_lib
-import os
-import sys
+for scheme in INSTALL_SCHEMES.values():
+    scheme['data'] = scheme['purelib']
 def fullsplit(path, result=None):