← Back to team overview

openerp-community-reviewer team mailing list archive

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

 

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 OpenERP Community Reviewer/Maintainer is subscribed to branch lp:lp-community-utils.


References