[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to properly add a pybombs packager
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] How to properly add a pybombs packager |
Date: |
Thu, 22 Sep 2016 11:11:41 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 09/21/2016 10:12 PM, U L wrote:
> I am trying to get pybombs to support installing to a python virtualenv
> on openSUSE which uses the zypper packager. OS packages are rpms but
> the naming is a little different so I've had to update a number of recipes.
Thanks, that's pretty cool! I think we need come up with a better way of
identifying satisfier rules, though.
> I've also found that the pip packager always uses elevated privileges.
> This should prob. be chosen based on the ownership of the pip executable
> vs the user executing pybombs. This would prevent a sudo pip call in a
> user virtualenv.
PyBOMBS and virtualenv is currently not working well, that's a known
issue. We still need to come up with a clean solution for that.
> The biggest sticking point I have so far is that the zypper packager I
> defined based on the yum version. Things seem to be somewhat working
> (checking version numbers and so forth) but the install does not get
> past a check for wget (??!!!). I checked out pybombs very recently.
> Some system info.
I think Andrej's email will help you here.
Cheers,
Martin
>
>> uname -a
> Linux linux-xdol 4.7.2-2-default #1 SMP PREEMPT Mon Aug 29 23:57:41 UTC
> 2016 (8a962cf) x86_64 x86_64 x86_64 GNU/Linux
>
>> pip --version
> pip 8.1.2 from /home/jaredd/pyvenvs/pybombs2/lib/python2.7/site-packages
> (python 2.7)
>
>> pybombs -vv install gnuradio
> <attached due to size>
>
> I'm not sure what else could be useful.
>
> Search up from the end for "zypper". The expected behavior would be
> pybombs would declare wget installed and move on (it is installed). I
> dug into the code but it has become too abstract to follow easily. For
> some reason it also seems to defy use in the debugger through ipython.
>
> Any advice is appreciated.
>
> Jared.
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>