How to install buildout.bootstrap
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install buildout.bootstrap
Lastest release
Introduction
Formerly collective.recipe.bootstrap
buildout.bootstrap is a Buildout extension that adds a Buildout bootstrap.py file to your buildout.
It satisfies the use case:
"I want to keep my buildout's bootstrap.py file up to date without having to download it manually."
It also makes it easy to add a bootstrap.py file to a buildout created via buildout init e.g.:
$ buildout init
After running this command, you have a buildout.cfg that looks like this:
[buildout] parts =
And you can now add the extension like so:
[buildout] extensions = buildout.bootstrap parts =
Run buildout again and afterward you should have a bootstrap.py file. Once you have a bootstrap.py file you can bootstrap the buildout via:
$ python bootstrap.py
If you still don't understand, consider the following: with this extension you can avoid having to type:
$ curl -O https://raw.github.com/buildout/buildout/2/bootstrap/bootstrap.py
You typically use this extension when you have created a new buildout and want to:
- Check it in to version control
- Check it out somewhere else and bootstrap it with python only (i.e. no setuptools available)
Installation
Add buildout.bootstrap to the extensions parameter in the buildout section of your buildout.cfg e.g.:
[buildout] extensions = buildout.bootstrap parts =
Changes
1.4.6 (2013-07-13)
- Default to Buildout 2
1.4.5 (2013-01-12)
- Update buildout/bootstrap/__init__.py
1.4.4 (2013-01-12)
- Update buildout/bootstrap/__init__.py [do3cc]
- Working error codes [do3cc]
1.4.3 (2012-11-01)
- Don't bother updating bootstrap.py when the buildout is running in offline (-o) mode [nutjob]
1.4.2 (2012-08-18)
- Change bootstrap URL to https://raw.github.com/buildout/buildout/1.6.x/bootstrap/bootstrap.py
1.4.1 (2012-05-16)
- Change bootstrap URL to http://buildout.org/bootstrap.py
1.4.0 (2012-05-16)
- Support Python 2.4
- Doc fix [davidjb]
1.3.0 (2012-04-06)
- Clean up package. Buildout moved to github. Remove option to specify version (based on svn tag)
1.2 (2010-08-13)
- Add option to specify version (based on svn tag)
- Add test stubs
1.1 (2010-08-13)
- Rename and repackage as Buildout extension
1.0 (2009-12-19)
- Clean up docs
0.1 (2009-08-07)
- Add initial functionality
- Created recipe with ZopeSkel
Contributors
- Alex Clark
- David Beitey
- Sean "nutjob" Kelly