Closed gertingold closed 5 years ago
We did wrong in using distutils.core here, but we should better go back and support it both. Turns out it works due to pip, which patches source dist install provided by distutils.core. I have to have a more detailed look into it. (For some reason I seem to not get any mailing list emails anymore. Need to investigate that, too.)
We should not make PyX depend on something, we do not really need to depend on. And this includes setuptools, although it is just for running setup. (*) We may go back and support both, setuptools and distutils. Whether we need to skip features not available in distutils or we should keep them in place and just accept warnings, is something I have not yet decided upon. It might result in just keeping it the way it is ...
(Comments are very welcome. We might also go back to the maling list, as I am resubscribed now. I just didn't notice until now, and have not seen the recent emails since ... I don't know.)
(*) We are in the nice situation, that PyX does not depend on anything, which is something I want to keep.
distutils.core
issues aUserWarning
complaining about thepython_requires
andextras_require
keywords (cf. https://sourceforge.net/p/pyx/mailman/message/36733909/). It seems that this should be solved by switching tosetuptools
which is proposed in this PR. It should be checked though whether this is indeed the right thing to do.