tags 560006 +moreinfo
quit

Hi,

Jari Aalto wrote:

> Trying to build on unstable:
>
>     $ git-buildpackage --git-verbose --git-ignore-new
>     Traceback (most recent call last):
>       File "/usr/bin/git-buildpackage", line 27, in <module>
>       import gbp.deb as du
>     ImportError: No module named deb
>
> The reason may be custom PYTHONPATH which is set to:
>
>    
> .:/root/lib/python:/usr/share/site-python:/root/lib/python:/usr/share/site-python:/root/lib/python:/usr/share/site-python
>
> POSSIBLE SOLUTION
>
> Could git-buildpackage define it's PYTHONPATH to include
> /usr/share/pyshared/gbp so that libs are always seen?

I tried:

 $ python -e 'import sys; print sys.path'

and pyshared didn't show up.  It seems that update-python-modules
takes care of putting modules on the default search path?

In other words, I'm not able to reproduce this.  Hints?
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to