I am experiencing exactly what is described in comment #10 on Precise.
`setup.py install` is putting things into site-packages directory, and
then when I try to run the program it raises ImportError because
sys.path does not contain any variation of 'site-packages' whatsoever.

The workaround I've created is ugly beyond belief:
https://github.com/robru/gottengeography/commit/54f52fa0a3f97e22fb61e70bc0b5ec77c1a19015

The code all worked fine on Fedora without the above patch, so something
is pretty broken with Ubuntu's distutils that it's installing packages
to places where python can't even find them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/362570

Title:
  Python distutils installs into 'site-packages' instead of 'dist-
  packages' when a prefix is set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/362570/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to