[Distutils] Conditionless setup.py

Pradyun Gedam pradyunsg at gmail.com
Fri Aug 25 04:45:00 EDT 2017


Hi Thomas!

Have you seen Pipfile? It's something along those lines - a declarative
specification of project data. :)

github.com/pypa/pipfile

Regards,
Pradyun Gedam

On Fri, Aug 25, 2017, 14:12 Thomas Güttler <guettliml at thomas-guettler.de>
wrote:

> 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/
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170825/44b446a0/attachment-0001.html>


More information about the Distutils-SIG mailing list