I think there is a misunderstanding of what bento is: bento
is not a compiler or anything like that. It is a set of
libraries that work together to configure, build and install a
python project.
Concretely, in bento, there is
- a part that build a packager description
(Distribution-like in distutils-parlance) from a
bento.info (a bite like setup.cfg)
- a set of tools of commands around this package
description.
- a set of "backends" to e.g. use waf to build C
extension with full and automatic dependency analysis (rebuild
this if this other thing is out of date), parallel builds and
configuration. Bento scripts build numpy more efficiently and
reliable while being 50 % shorter than our setup.py.
- a small library to build a distutils-compatible
Distribution so that you can write a 3 lines setup.py that
takes all its info from
bento.info and allow for pip to
work.
Now, you could produce a similar package description from
the setup.cfg to be fed to bento, but I don't really see the
point since AFAIK,
bento.info is strictly more
powerful as a format than setup.cfg.