Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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)

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.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

Project details


Download files

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

Files for buildout.bootstrap, version 1.4.8
Filename, size File type Python version Upload date Hashes
Filename, size buildout.bootstrap-1.4.8.zip (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page