Op 17 apr 2011, om 15:26 heeft Gary Thomas het volgende geschreven:
> On 04/16/2011 03:43 PM, Saul Wold wrote:>> On 04/16/2011 12:46 PM, Koen Kooi wrote:>>> furthermore both distutils and setuptools use the classes in sysroot, so the 'some versions' part of the argument is bogus.>>> >> Koen,>> >> Thanks, I guess missed your comments on this issue, thanks for pointing them out.>> >> Richard: Please disregard this patch.> > Fair enough & indeed, using distutils does work for this package. My follow up question would> be why are there two seemingly identical classes?
Because python people suck at agreeing on buildsystems.
> Just looking at a Python package which has> a 'setup.py' file, how can one one which to use and why??
That is an excellent questions! I sadly have no good answer to that :( Figuring out the problem your patch was trying to solve took me about 3 weeks. I started using it as a smoke test to see if it's setuptools or not. Usually you can get away with using distutils everywhere, but sometimes you really need setuptools. My workflow:
try setuptools, if that fails:
try distutils, if that fails:
tell people to stop using that python module
regards,
Koen