This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Make install default to user site-packages
Type: Stage: resolved
Components: Distutils2 Versions: Python 3.3
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: alexis, eric.araujo, tarek, terry.reedy
Priority: normal Keywords:

Created on 2011-06-03 17:24 by eric.araujo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg137563 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-03 17:24
Now that we can break compat in distutils2/packaging, we can change the default install dir to use PEP 370 user site-packages.  For users without root, copy-pasting “pysetup run install_dist” from the docs would Just Work™.  This would also avoid the dreadful advice to use sudo on OSes that have their own package manager and don’t want users to muck up with /usr.

See also #10745.
msg138144 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2011-06-11 01:53
In my Winxp machine, I can add and delete directories in python32/Lib/site-packages (all-users installation) from my user account. That is what I expect and want the default to be, not the Terry/whatever that I have never used (or the admin/whatever if I happen to install as admin.)
msg147019 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-11-04 17:22
With the raise of virtualenv and its inclusion in CPython for 3.3, this is even less a concern, even for UNIX.  I’m withdrawing the idea and will continue to advertise --user and warn against sudo in documentation and other venues.
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56469
2011-11-04 17:22:23eric.araujosetstatus: open -> closed
messages: + msg147019

assignee: tarek -> eric.araujo
resolution: rejected
stage: resolved
2011-06-11 01:53:55terry.reedysetnosy: + terry.reedy
messages: + msg138144
2011-06-03 17:24:21eric.araujocreate