[Distutils] PEP 376, Uninstallation and interoperability

Chris Jerdonek chris.jerdonek at gmail.com
Sat Feb 16 10:58:15 CET 2013


On Sat, Feb 16, 2013 at 12:42 AM, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
> Another question arises - what is to be done when directories, which are
> meant to be deleted during uninstallation, contain files which were not put
> there during installation of the distribution being removed? It would be useful
> for packaging tools to inform users about the extraneous, unexpected files and
> perhaps get confirmation before proceeding with directory deletion.

Are there scenarios where it is possible to have "expected" files that
are not created during installation but rather during the course of
running the application (e.g. preference files or cache files of some
sort)?  If so, for cleanup purposes, another option is to have a
provision for specifying such "post-installation" expected files.

--Chris


More information about the Distutils-SIG mailing list