2014-06-09 12:44 GMT+02:00 Bohuslav Kabrda <bkabrda@redhat.com>:
Another viable approach could be (not tested) replacing contents of astropy.extern.six with single line "from six import *". That'd unbundle six and wouldn't break depending libraries.


No, it doesn't work, python-2.x does relative imports in preference to absolute imports, see the last point here

http://fedoraproject.org/wiki/User:Toshio/Unbundling_Python_Modules

in fact, the directory approach doesn't work for me either with six.py, import six tries to import itself
 

Slavek