← Back to team overview

savoirfairelinux-openerp team mailing list archive

Re: [Merge] lp:~savoirfairelinux-openerp/lp-community-utils/pep394 into lp:lp-community-utils

 

/usr/bin/env python2 on debian stable from a virtualenv picks up the system python, as noted before, but it will be working on debian testing (jessie):

openeyedev@laptop01:~/tmp/buildout_test$ . sandbox/bin/activate
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ which python
/home/openeyedev/tmp/buildout_test/sandbox/bin/python
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ virtualenv --version
1.11.2
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ virtualenv2 --version
bash: virtualenv2: opdracht niet gevonden
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ /usr/bin/env python2
Python 2.7.6 (default, Jan 11 2014, 17:06:02) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/home/openeyedev/tmp/buildout_test/sandbox'

-- 
https://code.launchpad.net/~savoirfairelinux-openerp/lp-community-utils/pep394/+merge/204535
Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~savoirfairelinux-openerp/lp-community-utils/pep394.


References