homepage

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 vinay.sajip
Recipients alexis, carljm, eric.araujo, tarek, vinay.sajip
Date 2011年10月17日.16:57:59
SpamBayes Score 1.2468689e-08
Marked as misclassified No
Message-id <1318870673.82885.YahooMailNeo@web25804.mail.ukl.yahoo.com>
In-reply-to <1318868415.98.0.346999516389.issue12405@psf.upfronthosting.co.za>
Content
> Let me rephrase my example with real paths.
Okay, now I see what you're getting at.
> Python creates /usr/lib/python3.3/site-packages. (I’ll call this $stdlib.)
> 
> pysetup3.3 install paste.script creates $stdlib/paste/script/ and files 
> therein. The paste and paste/script directories are recorded.
> 
> pysetup3.3 install PasteUtil creates $stdlib/paste/util/ and files therein. 
> Only the paste/script directory is recorded.
I think you mean "Only the paste/util directory is recorded."
> The $stdlib/paste directory is created by either distribution when it is 
> installed, but if it’s recorded only by one of the distributions, then it can’t 
> be removed when the other distribution is removed last. This is the problem I’m 
> seeing.
Yes, it's a valid point. How about if you record all directories that you would create if they didn't exist, as well as those actually created? That way, you would record the paste directory under both distributions, but would only delete it when deleting the last distribution which uses it (paste/util in your example), because you're checking for emptiness (not including bytecode files and directories).
History
Date User Action Args
2011年10月17日 16:58:00vinay.sajipsetrecipients: + vinay.sajip, tarek, carljm, eric.araujo, alexis
2011年10月17日 16:57:59vinay.sajiplinkissue12405 messages
2011年10月17日 16:57:59vinay.sajipcreate

AltStyle によって変換されたページ (->オリジナル) /