i believe current thinking is after all these years still the same what @carljm is saying in the comment you've linked. `virtualenv` and `python3 -m venv` are the de facto standards for py2 and py3. if you wanna run non interactive python stuff, you use full path to the python script within the virtualenv. `source activate` is just a convenience for (let's say) development.
On Tue, Feb 7, 2017 at 1:14 PM, THUFIR HAWAT <hawat.thu...@gmail.com> wrote: > I'm just getting started with Jython and virtual env: > > thufir@doge:~/nfl$ > thufir@doge:~/nfl$ . jve/bin/activate > (jve) thufir@doge:~/nfl$ > (jve) thufir@doge:~/nfl$ jython sample.py > L.McCoy 31 carries for 184 yards and 1 TDs > T.Pryor 13 carries for 112 yards and 0 TDs > S.Vereen 14 carries for 101 yards and 0 TDs > A.Peterson 18 carries for 93 yards and 2 TDs > R.Bush 21 carries for 90 yards and 0 TDs > (jve) thufir@doge:~/nfl$ > > > just exactly from: > > https://github.com/BurntSushi/nflgame > > Except that I'm using Jython. What's a reasonable way to run a virtual > environment? Seems quite awkward, and at least one person: > > https://github.com/pypa/virtualenv/issues/247#issuecomment-4853286 > > > seems to be arguing that this is anti-pattern. > > > What's the current thinking on this discussion? I'm more coming at this > from Java and JVM's. > > > > > thanks, > > Thufir > > -- > You received this message because you are subscribed to the Google Groups > "virtualenv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python-virtualenv+unsubscr...@googlegroups.com. > To post to this group, send email to python-virtualenv@googlegroups.com. > Visit this group at https://groups.google.com/group/python-virtualenv. > For more options, visit https://groups.google.com/d/optout. > -- Jakub Vysoky mob: +420 605 852 377 jab: jakub.vys...@gmail.com twit: https://twitter.com/kvbik -- You received this message because you are subscribed to the Google Groups "virtualenv" group. To unsubscribe from this group and stop receiving emails from it, send an email to python-virtualenv+unsubscr...@googlegroups.com. To post to this group, send email to python-virtualenv@googlegroups.com. Visit this group at https://groups.google.com/group/python-virtualenv. For more options, visit https://groups.google.com/d/optout.