Interesting, I don't get the same results (I'm on Arch). It must be 
virtualenv's version. In any case, it looks like it indeed isn't safe to rely 
on /usr/bin/env python2.

vdupras@vdupras-thinkpad-x201:~/src/openerp$ . env/bin/activate
(env)vdupras@vdupras-thinkpad-x201:~/src/openerp$ python
Python 2.7.4 (default, Apr 19 2013, 18:28:01) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/home/vdupras/src/openerp/env'
>>> 
(env)vdupras@vdupras-thinkpad-x201:~/src/openerp$ /usr/bin/env python
Python 2.7.4 (default, Apr 19 2013, 18:28:01) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/home/vdupras/src/openerp/env'
>>> 
(env)vdupras@vdupras-thinkpad-x201:~/src/openerp$ /usr/bin/env python2
Python 2.7.4 (default, Apr 19 2013, 18:28:01) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/home/vdupras/src/openerp/env'
>>> 
(env)vdupras@vdupras-thinkpad-x201:~/src/openerp$ deactivate 
vdupras@vdupras-thinkpad-x201:~/src/openerp$ virtualenv2 --version
1.11.2
vdupras@vdupras-thinkpad-x201:~/src/openerp$
-- 
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.

-- 
Mailing list: https://launchpad.net/~savoirfairelinux-openerp
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~savoirfairelinux-openerp
More help   : https://help.launchpad.net/ListHelp

Reply via email to