Re: Using virtualenv to bypass sudoer issues

2014-02-10 Thread Asaf Las
On Monday, February 10, 2014 4:46:31 PM UTC+2, Jean-Michel Pichavant wrote: > > Call the venv version of python and activation is handled. > > E.g. in a fabfile > > > > myenv/bin/python myscript.py > > > > -- > > Pete Forman > > -- > > https://mail.python.org/mailman/listinfo/python-list > >

Re: Using virtualenv to bypass sudoer issues

2014-02-10 Thread Jean-Michel Pichavant
> Call the venv version of python and activation is handled. > E.g. in a fabfile > > myenv/bin/python myscript.py > > -- > Pete Forman > -- > https://mail.python.org/mailman/listinfo/python-list wow, the solution is so nice and simple. JM -- IMPORTANT NOTICE: The contents of this emai

Re: Using virtualenv to bypass sudoer issues

2014-02-10 Thread Pete Forman
Jean-Michel Pichavant writes: > Thank you all for you insights. > > I'll probably go with virtualenv, I'll be able to distribute it among > the team. > There's still one point worrying me though: > We're doing a lot a remote execution. We're using "execnet" > http://codespeak.net/execnet/, and I'

Re: Using virtualenv to bypass sudoer issues

2014-02-10 Thread Jean-Michel Pichavant
Thank you all for you insights. I'll probably go with virtualenv, I'll be able to distribute it among the team. There's still one point worrying me though: We're doing a lot a remote execution. We're using "execnet" http://codespeak.net/execnet/, and I'm not sure it can be compatible with virtua

Re: Using virtualenv to bypass sudoer issues

2014-02-08 Thread Jussi Piitulainen
Glenn Hutchings writes: > On 06/02/14 17:32, Jean-Michel Pichavant wrote: > > > Assuming I have a debian workstation for which I don't have any > > sudo rights, in order to be able to install / remove python > > packages, should I be using virtualenv ? Is it a suited solution > > ? > > It de

Re: Using virtualenv to bypass sudoer issues

2014-02-08 Thread Glenn Hutchings
On 06/02/14 17:32, Jean-Michel Pichavant wrote: > Assuming I have a debian workstation for which I don't have any sudo > rights, in order to be able to install / remove python packages, should > I be using virtualenv ? Is it a suited solution ? It depends on whether you need to share the install

Re: Using virtualenv to bypass sudoer issues

2014-02-07 Thread Asaf Las
On Saturday, February 8, 2014 5:32:22 AM UTC+2, Cameron Simpson wrote: > On 07Feb2014 19:03, Asaf Las wrote: > > Persuming you are asking about "just make a lib directory and point > $PYTHONPATH at it" instead of virtualenv, in principle yes. > But it is more work; virtualenv is essentially a wel

Re: Using virtualenv to bypass sudoer issues

2014-02-07 Thread Cameron Simpson
On 07Feb2014 19:03, Asaf Las wrote: > On Saturday, February 8, 2014 3:18:02 AM UTC+2, Cameron Simpson wrote: > > On 06Feb2014 18:32, Jean-Michel Pichavant wrote: > > > > > Assuming I have a debian workstation for which I don't have any > > > sudo rights, in order to be able to install / remove p

Re: Using virtualenv to bypass sudoer issues

2014-02-07 Thread Asaf Las
On Saturday, February 8, 2014 3:18:02 AM UTC+2, Cameron Simpson wrote: > On 06Feb2014 18:32, Jean-Michel Pichavant wrote: > > > Assuming I have a debian workstation for which I don't have any > > sudo rights, in order to be able to install / remove python packages, > > should I be using virtualen

Re: Using virtualenv to bypass sudoer issues

2014-02-07 Thread Cameron Simpson
On 06Feb2014 18:32, Jean-Michel Pichavant wrote: > Assuming I have a debian workstation for which I don't have any > sudo rights, in order to be able to install / remove python packages, > should I be using virtualenv ? Is it a suited solution ? It is well suited. You can also do far simpler (an

Using virtualenv to bypass sudoer issues

2014-02-06 Thread Jean-Michel Pichavant
Greetings, Assuming I have a debian workstation for which I don't have any sudo rights, i n order to be able to install / remove python packages, should I be using virtualenv ? Is it a suited solution ? JM -- IMPORTANT NOTICE: The contents of this email and any attachments are con