[Distutils] Conditionless setup.py

Thomas Güttler guettliml at thomas-guettler.de
Fri Aug 25 04:36:21 EDT 2017


The setup.py of numpy looks big and complicated: https://github.com/numpy/numpy/blob/master/setup.py

I guess there are even more complicated setup.py files.

Do you think it will be possible in the future to make setup.py conditionless (no "if", no "else", no function calls)?

I mean that the setuptools/distutils/whatever libraries will handle all needed conditions?

This would mean setup.py would be a pure data structure which could be encoded in json or yaml.

What do you think?

Regards,
   Thomas Güttler


-- 
Thomas Guettler http://www.thomas-guettler.de/


More information about the Distutils-SIG mailing list