Re: [gentoo-user] Source Python virtualenv in OpenRC script

2021-12-12 Thread Julien Roy
Thanks, I didnĀ“t realize it was this easy! Regards, Julien Dec 12, 2021, 22:39 by man...@mclure.org: > > > On Sat, Dec 11, 2021 at 3:54 PM Julien Roy <> jul...@jroy.ca> > wrote: > >> Hello, >> >> I am trying to create an OpenRC script to start a python module. >> To launch the module

Re: [gentoo-user] Source Python virtualenv in OpenRC script

2021-12-12 Thread Manuel McLure
On Sat, Dec 11, 2021 at 3:54 PM Julien Roy wrote: > Hello, > > I am trying to create an OpenRC script to start a python module. > To launch the module manually, what I would do is: > cd $moduleDir > source bin/activate > python -m $module > You can actually just use $moduleDir/bin/python -m