[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virtualenv --system-site-packages (was: PEP 453 affects Debian packaging of Python packages)



On Wed, Sep 25, 2013 at 12:21:04PM -0400, Barry Warsaw wrote:
> On Sep 25, 2013, at 06:15 PM, W. Martin Borgert wrote:
> 
> >Quoting "Barry Warsaw" <barry@python.org>:
> >> Sounds a lot like `virtualenv --system-site-packages` right?
> >
> >IMHO, --system-site-packages should be the default.
> >IIRC, it was the default in squeeze (1.4.9),
> >but is not anymore in wheezy (1.7.1.2). Opinions?
> 
> FWIW, I always use it, except when I don't and then I'm mad at myself for
> forgetting that option.

If y'all use virtualenvwrapper (you should), you can
toggleglobalsitepackages

Also, it's helpful when you're doing testing in dev setups, to make sure
your requirements.txt isn't forgetting something that's installed
system-wide :)

+1 for keeping it isolated without global site packages (unless you need
them, in which case, it should be a per-env exception)

Cheers,
  Paul

-- 
 .''`.  Paul Tagliamonte <paultag@debian.org>
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `-     http://people.debian.org/~paultag

Attachment: signature.asc
Description: Digital signature


Reply to: