[TriLUG] arguments to remove a thin python wrapper

Kevin Hunter Kesling hunteke at earlham.edu
Fri Jan 10 12:07:20 EST 2014


At 10:42am -0500 Fri, 10 Jan 2014, Igor Partola wrote:
> Have you looked into Virtualenv
> (http://www.virtualenv.org/en/latest/)? I have never seen the pattern
> like the one you show here so I can't really comment on it.

Alright, I know the project uses it, but this particular detail is 
completely ignored in their documentation, and I hadn't read it's 
documentation yet.  It looks like I can use the system Python to run my 
scripts, avoiding my problems all together:

 
http://www.virtualenv.org/en/latest/virtualenv.html#using-virtualenv-without-bin-python

So, if I end up using this particular idiom, I'll need to make sure that 
each entry point activates the environment, and provide a setup script 
for my users to update the path for their particular virtual 
environment.  I'm happy that my users can simply use their system Python 
now (cleaner), but it means more work for me.  Umm.  Yay.

Thanks Igor.  Sometimes a kick in the pants to RTFM is what one needs.

Cheers,

Kevin


More information about the TriLUG mailing list