Issue 1799: PEP 370 - Python tracker (original ) (raw ) This issue has been migrated to GitHub: https://github.com/python/cpython/issues/46132
classification
process
Created on 2008-01-11 21:23 by christian.heimes , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
pep370.patch
christian.heimes,2008-05-05 20:12
Messages (6)
msg59754 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2008-01-11 21:23
The patch adds a per user site-packages directory and a --user option for distutils' setup.py install. It also cleans up site.py a bit and makes addsitepackages() extensible. I'm going to write a mini PEP soonish.
msg59871 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2008-01-13 23:12
The new patch adds the -s option, checks for getuid() == geteuid() and adds sys.flags (see #1816 ).
msg59883 - (view)
Author: Gregory P. Smith (gregory.p.smith) *
Date: 2008-01-14 01:40
nice. ping a mac developer for what to do with the darwin stuff that you commented out. It'd also be nice to have unit tests for the new behavior. Though i don't think we have many (any?) of that type of regression test right now. Such a test would need to setup a test user site package, os.system another instance python with and without -s to confirm if it saw the test site package that was just created or not followed by cleaning it all up.
msg59989 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2008-01-16 05:30
Future patches will be applied to the branch directly: http://svn.python.org/view/sandbox/trunk/pep370
msg66281 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2008-05-05 20:12
The new patch applies cleanly in the trunk.
msg66448 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2008-05-08 20:44
The PEP370 has been accepted and the patch has been applied.
History
Date
User
Action
Args
2022-04-11 14:56:29
admin
set
github: 46132
2008-05-08 20:44:14
christian.heimes
set
status: open -> closedresolution: acceptedmessages: +
2008-05-05 20:12:31
christian.heimes
set
priority: normal -> criticalfiles: + pep370.patch messages: + title: Per user site-packages and setup.py install --user patch -> PEP 370
2008-05-05 20:11:17
christian.heimes
set
files: - trunk_usersite4.patch
2008-01-16 05:30:32
christian.heimes
set
messages: +
2008-01-16 03:13:37
jcea
set
nosy: + jcea
2008-01-14 04:48:35
christian.heimes
set
files: - trunk_usersite3.patch
2008-01-14 04:48:26
christian.heimes
set
files: - trunk_usersite.patch
2008-01-14 04:48:20
christian.heimes
set
files: + trunk_usersite4.patch
2008-01-14 01:40:03
gregory.p.smith
set
nosy: + gregory.p.smith messages: +
2008-01-13 23:12:03
christian.heimes
set
files: + trunk_usersite3.patch messages: +
2008-01-11 21:23:28
christian.heimes
create