[issue12405] packaging does not record/remove directories it creates

Carl Meyer report at bugs.python.org
Mon Oct 17 23:46:08 CEST 2011


Carl Meyer <carl at dirtcircle.com> added the comment:

> Carl: Can you tell us how pip removes directories?

In short - pip would _love_ to have directories recorded as well as files, exactly as Vinay has proposed. We don't have that info (even the distutils --record option currently doesn't record directories, thus installed-files.txt doesn't contain directories), so we are reduced to some nasty things like referring to top-level.txt in order to avoid lots of empty directories hanging about, which in itself was the subject of recent controversy re Twisted's custom namespace packages implementation.

Please, let's have directories recorded in RECORD, and yes, if a directory would have been created but already existed, it should also be recorded (so that shared directories are in the RECORD file for both/all of the sharing distributions).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12405>
_______________________________________


More information about the Python-bugs-list mailing list