I have very basic Python setup scripts that just call distutils.core.setup()
with relevant parameters. The packages are for internal use only, so I do not need much more than that at the moment.
What bugs me is that when a new version of a package is installed, the old egg-info
files are not automatically removed - although the package directory is overwritten with the new version.
(1) Is there a reason for not removing the old files by default?
(2) Is there a recommended way to remove the old egg-info
files on new version setup so that it won't cause me grief later when the setup process becomes more complicated?
Thank you in advance.