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.

Author carljm
Recipients alexis, carljm, eric.araujo, tarek, vinay.sajip
Date 2011-10-18.18:18:23
SpamBayes Score 6.819182e-08
Marked as misclassified No
Message-id <1318961904.77.0.737981596678.issue12405@psf.upfronthosting.co.za>
In-reply-to
Content
> 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!
History
Date User Action Args
2011-10-18 18:18:24carljmsetrecipients: + carljm, vinay.sajip, tarek, eric.araujo, alexis
2011-10-18 18:18:24carljmsetmessageid: <1318961904.77.0.737981596678.issue12405@psf.upfronthosting.co.za>
2011-10-18 18:18:24carljmlinkissue12405 messages
2011-10-18 18:18:23carljmcreate