Message145850
> This is what I proposed earlier: we’d need to record all directories that would have been created, but I’m not sure if it will be possible. For example, if one uses --prefix /tmp/usr and pysetup install creates /tmp/usr, /tmp/usr/lib, /tmp/usr/lib/python2.7, /tmp/usr/lib/python2.7/site-packages, /tmp/usr/lib/python2.7/site-packages/spam and /tmp/usr/lib/python2.7/site-packages/Spam-0.1.dist-info, then we pysetup should Spam, should packaging remove only the package and dist-info directories or also the site-packages, python2.7, lib and usr directories?
I think it would make sense to draw a distinction between "creating the prefix directories (including site-packages)" and "creating the distribution-specific directories within the prefix directories." And only record the latter in RECORD for the given installed distribution.
If I use --prefix and install some things, and then uninstall them, I would not consider it a bug to find the empty site-packages directory still remaining under that prefix. (In fact, I'd be surprised if it were removed).
> Okay, so I will champion a patch to PEP 376.
Thank you! |
|
Date |
User |
Action |
Args |
2011-10-18 18:18:24 | carljm | set | recipients:
+ carljm, vinay.sajip, tarek, eric.araujo, alexis |
2011-10-18 18:18:24 | carljm | set | messageid: <1318961904.77.0.737981596678.issue12405@psf.upfronthosting.co.za> |
2011-10-18 18:18:24 | carljm | link | issue12405 messages |
2011-10-18 18:18:23 | carljm | create | |
|