import paths for _intset from loader.py don't work on source install
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.
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/
Assuming I didn't do something wrong, there's a problem with the import paths.