Gentoo Archives: gentoo-guis

From: Mathias Laurin <Mathias.Laurin+gentoo.org@×××××.com>
To: gentoo-guis@l.g.o
Subject: [gentoo-guis] elogviewer
Date: Mon, 19 Sep 2011 20:14:54
Message-Id: 4397CA70-7997-479F-A88D-DF726C27E93C@gmail.com
In Reply to: Re: [gentoo-guis] elogviewer by Brian Dolbec
1 Dear Brian,
2
3 I am able to make the tar archive, with distutils and it contains everything needed. After doing:
4 python setup.py sdist
5 I unpacked the archive it created and tried
6 python setup.py install
7 but none of the files in package_data get copied. This is particularly a problem for the glade file in gtk. The qt GUI seems to load, but only relies on py files, which are treated correctly.
8
9 I have uploaded the tarball to sourceforge, with version 1.0.1, git is also in synch with my local repos maybe it works for you.
10
11 Best regards,
12 Mathias
13
14
15 On 12 Sep 2011, at 16:13, Brian Dolbec wrote:
16
17 > On Mon, 2011-09-12 at 10:16 +0200, Mathias Laurin wrote:
18 >> Dear Brian, dear users of gentoo-guis,
19 >>
20 >> I am the author of elogviewer, an utility to read the elogs generated by portage. I sincerely apologize for not answering earlier: family, work, everything slowly grows in time and manages to take various priorities. But we are probably all here.
21 >>
22 >> So to go back to elogviewer, I got that the first thing to resolve was to have the utility install with distutils, am I correct? This is something I can certainly work.
23 >>
24 >> Best regards,
25 >> Mathias
26 >
27 > Yes, getting it to install using distutils is the first step. You will
28 > also need to change your starter scripts from shell to python. This is
29 > needed so that it can be installed in more than one python version at
30 > the same time. You can get an examples from gentoolkit's eclean,
31 > equery, enalyze.... You might also want to look at etc-proposals, he
32 > uses one script to start either the gtk or qt guis depending on the
33 > users preference or as an input parameter.
34 >
35 > --
36 > Brian Dolbec <brian.dolbec@×××××.com>