Avoid having to do 'svn cat svn://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py > bootstrap.py
Project description
Introduction
This recipe satisfies the (perhaps) not-so-common use case of “I want to keep my buildout bootstrap.py file up to date without having to manually download it from svn.zope.org.”
It also makes it possible to add a bootstrap.py file to a buildout created via ‘buildout init’, for subsequent checking-in to the repo of your choice.
In other words, this recipe makes it possible to avoid typing: % svn cat svn://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py > bootstrap.py
Just add a part and define this recipe. E.g.
[buildout] parts += bootstrap
[bootstrap] recipe = collective.recipe.bootstrap
and when you run buildout, this recipe will do the rest.
Code repository: http://svn.plone.org/svn/collective/buildout/collective.recipe.bootstrap/
Questions and comments to aclark@aclark.net
Report bugs at aclark@aclark.net
Detailed Documentation
Supported options
N/A
Example usage
We’ll start by creating a buildout that uses the recipe:
>>> write('buildout.cfg', ... """ ... [buildout] ... parts = test1 ... ... [test1] ... recipe = collective.recipe.bootstrap ... """
Running the buildout gives us:
>>> print 'start', system(buildout) start... Installing test1. <BLANKLINE>
Contributors
Alex Clark, Author
Change history
0.1 (2009-08-07)
Add initial functionality [Alex Clark]
Created recipe with ZopeSkel [Alex Clark]
Download
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.recipe.bootstrap-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac9f5e6e659c443243a65cdb0581c9260c16664b10df55b0fd7f892877da5816 |
|
MD5 | 03831368f4dd4a979ecf5b5556db1f8a |
|
BLAKE2b-256 | 351eb75d3ba54c0c2a3ef209390f8af0325bd96a17c96956ddb4784887848b4e |