You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
tiran commentedon Jan 11, 2008
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.
tiran commentedon Jan 13, 2008
The new patch adds the -s option, checks for getuid() == geteuid() and
adds sys.flags (see bpo-1816).
gpshead commentedon Jan 14, 2008
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.
tiran commentedon Jan 16, 2008
Future patches will be applied to the branch directly:
http://svn.python.org/view/sandbox/trunk/pep370
tiran commentedon May 5, 2008
The new patch applies cleanly in the trunk.
[-]Per user site-packages and setup.py install --user patch[/-][+]PEP 370[/+]tiran commentedon May 8, 2008
The PEP-370 has been accepted and the patch has been applied.