Buildout extension to download https://bootstrap.pypa.io/bootstrap-buildout.py automatically.
Project description
buildout.bootstrap
Buildout extension to download https://bootstrap.pypa.io/bootstrap-buildout.py automatically.
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://bootstrap.pypa.io/bootstrap-buildout.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 =
Contributors
Alex Clark
David Beitey
Sean “nutjob” Kelly
Changes
1.4.8 (2015-06-04)
Update file to bootstrap-buildout.py
1.4.7 (2015-05-18)
Update URL to https://bootstrap.pypa.io/bootstrap-buildout.py
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
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
File details
Details for the file buildout.bootstrap-1.4.8.zip
.
File metadata
- Download URL: buildout.bootstrap-1.4.8.zip
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fe9b497dd7cf24d64ea66a934cb6cb15f58085e4180f99761edcbb3ab5007a |
|
MD5 | 42d755d812872efff86f76f7becde83f |
|
BLAKE2b-256 | a7a4ebcbfa2c2acd83b6039d932aa675f5493c9d01a5911eb4a4bc6adbf95520 |