Re: Question about private modules in /usr/share

2015-04-21 Thread Potter, Tim (Cloud Services)
On 21 Apr 2015, at 7:01 pm, Piotr Ożarowski wrote: > > [Potter, Tim (Cloud Services), 2015-04-21] >> 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 >>from dwarf import lo

Re: Question about private modules in /usr/share

2015-04-21 Thread Piotr Ożarowski
[Potter, Tim (Cloud Services), 2015-04-21] > 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 > from dwarf import log # pylint: disable=W0611 > ImportError: No module named dw

Re: Question about private modules in /usr/share

2015-04-20 Thread Potter, Tim (Cloud Services)
Hi Tianon. Thanks for the reply. On 21 Apr 2015, at 2:41 pm, Tianon Gravi wrote: > > On 20 April 2015 at 20:21, Potter, Tim (Cloud Services) > 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 PYTHO

Re: Question about private modules in /usr/share

2015-04-20 Thread Tianon Gravi
On 20 April 2015 at 20:21, Potter, Tim (Cloud Services) 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, i

Question about private modules in /usr/share

2015-04-20 Thread Potter, Tim (Cloud Services)
Hi everyone. I recently filed in ITP (#782988) and had a stab at packaging the app based on the instructions at https://wiki.debian.org/Python/Packaging. 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 PYTHONP