<div dir="ltr"><div><div>Thank you.<br></div><br></div>It would be very nice to have in the documentation few words about "python setup.py" process. To understand what is going behind this command. Why it is necessary. Just for keeping whole clear picture.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 6:30 PM, Olav Philipp Henschel <span dir="ltr"><<a href="mailto:olavph@linux.vnet.ibm.com" target="_blank">olavph@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've recently asked about this, the command is:<br>
python setup.py develop --user<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Olav</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 06-01-2016 15:18, Lucas Meneghel Rodrigues wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There's a flag to do a user local install instead of system wide,<br>
which I forgot, but Lukas might remember it.<br>
<br>
If you are going to over simplify what was done, yes, we are 'forcing'<br>
the user to install a pointer for the libraries inside a system wide<br>
library dir. Now if you use the local install, that will be restricted<br>
into the user's profile.<br>
<br>
I promise this was all done for a good reason. Having plugins<br>
installed as setuptools entry points is more clear and standard than<br>
our previous custom method.<br>
<br>
Unfortunately, my new job's assignments are leaving me busy, so I have<br>
limited time to spend with this. I'll try to help by answering and<br>
delegating tasks, like I just did :)<br>
<br>
On Wed, Jan 6, 2016 at 3:03 PM, Andrei Stepanov <<a href="mailto:astepano@redhat.com" target="_blank">astepano@redhat.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, it helps.<br>
<br>
Above step definitely breaks system integrity. This is a bit unclear. Why do<br>
we install development version into system? Do we have some documentation<br>
that brings more light on this? Or some policy? Or.... I understand that<br>
Avocado is under active development, but, Is there some advice for Avocado<br>
users? What version should we use and develop for?<br>
<br>
Spice-qe team uses Avocado from git, mainly because there is no RPMs for all<br>
OS versions/architectures/releases/betas/alphas/etc that we are interested<br>
in.<br>
<br>
Could you give more information about setup.py step? Do I right understand,<br>
that you force us to install avocado into system? Before it NewYear it was<br>
possible to use Avocado directly from git repo (make links, all this<br>
configs), but not now. Did I miss something?<br>
<br>
Sorry, if I wrote something wrong.<br>
<br>
<br>
On Wed, Jan 6, 2016 at 5:32 PM, Lucas Meneghel Rodrigues <<a href="mailto:lookkas@gmail.com" target="_blank">lookkas@gmail.com</a>><br>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Did you do:<br>
<br>
python setup.py install<br>
or<br>
python setup.py develop<br>
<br>
In both the avocado source dir and the plugin dir?<br>
<br>
On Wed, Jan 6, 2016 at 2:30 PM, Andrei Stepanov <<a href="mailto:astepano@redhat.com" target="_blank">astepano@redhat.com</a>><br>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello<br>
<br>
Any clue about :<br>
<br>
pip list | grep stevedore<br>
stevedore (1.10.0)<br>
<br>
<br>
# ./scripts/avocado vt-bootstrap --vt-type spice --vt-no-downloads<br>
--vt-update-config<br>
usage: avocado [-h] [-v] [--config CONFIG_FILE] {} ...<br>
avocado: error: argument subcommand: invalid choice: 'vt-bootstrap'<br>
(choose<br>
from )<br>
[root@spice-bkr02 avocado]#<br>
<br>
# ./scripts/avocado --help<br>
usage: avocado [-h] [-v] [--config CONFIG_FILE] {} ...<br>
<br>
Avocado Test Runner<br>
<br>
optional arguments:<br>
   -h, --help            show this help message and exit<br>
   -v, --version         show program's version number and exit<br>
   --config CONFIG_FILE  Use custom configuration from a file<br>
<br>
subcommands:<br>
   valid subcommands<br>
<br>
   {}                    subcommand help<br>
<br>
<br>
<br>
_______________________________________________<br>
Avocado-devel mailing list<br>
<a href="mailto:Avocado-devel@redhat.com" target="_blank">Avocado-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/avocado-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/avocado-devel</a><br>
<br>
</blockquote>
<br>
<br>
--<br>
Lucas<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
Avocado-devel mailing list<br>
<a href="mailto:Avocado-devel@redhat.com" target="_blank">Avocado-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/avocado-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/avocado-devel</a><br>
</div></div></blockquote></div><br></div>