Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Buildout doesn't know about anything <code>dist-packages</code>, as that's a Debian and Ubuntu specific addition to Python. If buildout doesn't exclude it when you exclude <code>site-packages</code>, then is not the only package to have this 'problem'; virtualenv doesn't know about it either, see <a href="https://stackoverflow.com/questions/1215610/ubuntu-virtualenv-a-mess-virtualenv-hates-dist-packages-wants-site-package">Ubuntu + virtualenv = a mess? virtualenv hates dist-packages, wants site-packages</a>.</p> <p>Feel free to file an issue in the <a href="https://bugs.launchpad.net/zc.buildout" rel="nofollow noreferrer">buildout issue tracker</a> to request that dist-packages is included when ignoring site-packages.</p> <p>Note that on my Debian system however, the <code>dist-packages</code> directory <em>is</em> being excluded.</p> <p>Buildout normally determines what the <code>site-packages</code> directories are by determining the difference between the following two commands:</p> <pre><code>PYTHONNOUSERSITE="x" python -c "import sys, os;print repr([os.path.normpath(p) for p in sys.path if p])" </code></pre> <p>and</p> <pre><code>python -S -c "import sys, os;print repr([os.path.normpath(p) for p in sys.path if p])" </code></pre> <p>If the latter still includes the <code>dist-packages</code> directory for you, then I'd classify this as a Ubuntu or Debian bug. On Debian 6.0.5, with zc.buildout 1.5.2 that path is <em>not</em> included.</p> <p>The <code>dist-packages</code> directory is normally added via the <a href="http://docs.python.org/library/site.html" rel="nofollow noreferrer"><code>site.py</code> module</a> (which the <code>-S</code> switch above disables). Debian and Ubuntu have patched that module.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload