On Thu, 30 Apr 2009 14:23:41 +0200, Tarek Ziadé <ziade.tarek@gmail.com> wrote:
We are planning to propose a backport for previous versions
ok
Not neccessary - recursively delete the whole package directory or .egg file.
No because you can have files installed anywhere
That's true that they can be installed anywhere. But there always needs to be an entry in a .PTH file along the python path to specify where the files were installed to.
The way to handle de-installation is to use the recorded list of file that can be created by the 'sdist' command at installation time
It's the --record option and we want to put its output in "RECORD" in the egg.info
Now my point is : do we want to add the MANIFEST (source file list) file as well. Setuptools and pip are adding a SOURCES.txt file at this point.
Well, you can certainly try that... But your logic fails in this case.... - you installed a package on a system in 1998... - that system didn't generate all of the manifest info that was just invented now. (2009) - therefore... the code you run now cannot deinstall that old package. Obviously.. there's ways around it... They're just my observations... David