Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

> If one project creates a/b/thing and another project uses
> a/b/otherthing, then the directories would be recorded in the first
> project’s RECORD, but they should be removed only when both projects
> are removed.

I'm not sure what you mean by "using". AFAIK, each distribution's files 
(recorded in RECORD) would be unique to that distribution (else distros like 
Debian will have problems, since files are owned by one package and one package 
only).

I think all that is needed is as follows:

1. Record any directories that are created in RECORD, ideally bottom-up.

2. On uninstallation, remove all .pyc/.pyo files and __pycache__ directories, 
and remove all directories named in RECORD, unless they are non-empty (once 
.pyc/.pyo and __pycache__ are removed).

If you are talking about dependencies between dependencies, I still don't see 
what your point is. IIUC, if distA depends on distB, distA's RECORD will 
contain all files which were installed as part of the installation of distA, 
and likewise for distB.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12405>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to