import paths for _intset from loader.py don't work on source install

Bug #740430 reported by dan kuebrich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Meliae
New
Undecided
Unassigned

Bug Description

Would get the following error when doing "from meliae import loader" in an interactive python shell:

Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from meliae import loader
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "meliae/loader.py", line 32, in <module>
    from meliae import (
ImportError: cannot import name _intset

Fixed it by adding this hacky line in loader.py before the bad import:

sys.path.append('/usr/local/lib/python2.6/dist-packages/meliae/')

I installed it by pulling down a 0.3.0 tarball (sdist on pypi currently broken) and running sudo python setup.py install . It installed to /usr/local/lib/python2.6/dist-packages/

Assuming I didn't do something wrong, there's a problem with the import paths.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.