Skip to main content

A buildout extension that adds a buildout bootstrap.py file to your buildout.

Project description

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)

1.4.1 (2012-05-16)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buildout.bootstrap-1.4.6.zip (14.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page