Bento, a flexible and pythonic solution for python packaging
log in to bookmark this presentaton
Abstract
There has been an increasing number of solutions for easy distribution of python-based softwares: setuptools, distribute, etc... Those solutions work well for a significant part of the python community, but they are python-specific and are generally hard to extend/customize.
I will present bento ('lunch box' in Japanese), which is born out of the inadequacy of current solutions for the scipy community, but is in no way specific to scipy. Instead of offering a fully integrated solution to packaging, bento separates the concerns of configuration, build, installation and packaging. With bento, packages are described in one or multiple static metadata file(s), which is used to drive bentomaker, a command line interface around bento libraries.
The poster will present a few core features of bento:
- Package description format
- How to include and install arbitrary data (documentation, configuration files, init scripts, icons, etc...) in a flexible manner.
- Automatic conversion of setup.py-based packages to bento format
- Build customization through hooks
- Some examples of simple and not so simple converted packages (twisted, numpy, scipy)
- How to use bento in your package without adding dependencies