Streamline data_files generation with additional keys
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 7 Jun 2013 14:42:27 +0000 (07:42 -0700)
committerW. Trevor King <wking@tremily.us>
Sun, 15 Dec 2013 04:25:09 +0000 (20:25 -0800)
commitafa7719fb9d1ceb0fde439d864508efb9c5fb1dd
tree3f5815b83a9f2610f43abddc4ba30e968b446d48
parentf57c113da07c1cc5fe77ff6edf5cfff1f0d55105
Streamline data_files generation with additional keys

* Move data_file generation out of setup().
* Return per-directory keys, since distutils only uses the directory
  key and value filename (not the value path) when installing
  data_files.
* Use relative key paths for more flexible installation.
* Raise NotImplementedError if os.path.sep is not '/', which allows
  for simpler path handling.
setup.py