[issue16480] pyvenv 3.3 fails to create symlinks for <virtualenv>/local/{bin, lib} to <virtualenv>/{bin, lib}

Matthias Klose report at bugs.python.org
Thu Dec 20 18:00:45 CET 2012


Matthias Klose added the comment:

having the posix_prefix as the default in Debian is an oversight on my side. it always should be posix_local. I'll fix this at least for 3.3 in current development releases.

The rationale for this is that distutils based installs install by default into the path which is used by the distributor and get in conflict with the packages distributed by Debian/Ubuntu.

At one of the language summits in Chicago I asked that the default installation target should be changed to the user dir, but this idea was rejected.

Therefore you do have two site directories, called

  /usr/lib/pythonX.Y/dist-packages
  /usr/local/lib/pythonX.Y/dist-packages

The renaming from site to dist was done to not conflict with a default python installation (without any configure parameters).

The default install should go to /usr/local, packagers for Debian usually should use the Debian local distutils option --install-layout=deb.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16480>
_______________________________________


More information about the Python-bugs-list mailing list