4 ms·
zc.buildout[1] provides this kind of magic. You put the bootstrap.py[2] inside your project to bootstrap zc.buildout itself, and run `bin/buildout` and it will
by sirn 9y ago
zc.buildout[1] provides this kind of magic. You put the bootstrap.py[2] inside your project to bootstrap zc.buildout itself, and run `bin/buildout` and it will do everything needed to be done as configured in the recipe/configuration file. zc.buildout is also capable of compiling C sources using hexagonit.recipe.cmmi.
The magic of zc.buildout is in the recipe which is a normal Python module that allowed zc.buildout to be extended to do plenty of things (e.g. managing supervisord[3], installing postgres[4], etc.).
[1]: http://www.buildout.org/en/latest/index.html http://www.buildout.org/en/latest/index.html
[2]: https://github.com/buildout/buildout/blob/9a4b330338e63992dc6874ea6b4ead5e0e622e12/bootstrap/bootstrap.py https://github.com/buildout/buildout/blob/9a4b330338e63992dc...
[3]: https://pypi.python.org/pypi/collective.recipe.supervisor/0.20 https://pypi.python.org/pypi/collective.recipe.supervisor/0....
[4]: https://pypi.python.org/pypi/birdhousebuilder.recipe.postgres/0.2.0 https://pypi.python.org/pypi/birdhousebuilder.recipe.postgre...