On 20 April 2015 at 20:21, Potter, Tim (Cloud Services) <timothy.pot...@hp.com> wrote: > It looks pretty good, but I think I have messed up something as my binary > gives an import error since /usr/share/dwarf isn’t in the PYTHONPATH: > > # dwarf > Traceback (most recent call last): > File "/usr/bin/dwarf", line 32, in <module> > from dwarf import log # pylint: disable=W0611 > ImportError: No module named dwarf
I'm not an expert by any means, but it's been my experience that the more you trust Piotr's pybuild code to DTRT, the more it does. :) I cloned your package locally and removed both "override_dh_*" sections from "debian/rules" and deleted "debian/links" and it successfully created a package with just pybuild, including installing dwarf and dwarf-manage in /usr/bin. Is there a specific reason to override what pybuild is doing? Here's what I get after removing those sections, building, installing, and testing the result: | # dwarf | libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory This seems to be working properly (there's no ImportError), but I admit I'm not at all familiar with upstream here. :) ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cahnknk11ikxumq2psaoyyufmuh8dkf6musepwveocwe+06u...@mail.gmail.com