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

2013-09-25 Thread W. Martin Borgert

Quoting Barry Warsaw ba...@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?


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130925181547.13216jbp112ja...@webmail.in-berlin.de



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

2013-09-25 Thread Paul Tagliamonte
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 ba...@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 paul...@debian.org
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `- http://people.debian.org/~paultag


signature.asc
Description: Digital signature


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

2013-09-25 Thread Tristan Seligmann
On Wed, Sep 25, 2013 at 6:21 PM, Barry Warsaw ba...@debian.org wrote:

 On Sep 25, 2013, at 06:15 PM, W. Martin Borgert wrote:

 Quoting Barry Warsaw ba...@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.


I'm the exact opposite; I never use it. I only want to use system-installed
packages for system-installed things (installed via .deb, of course).
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar