Personal tools
You are here: Home Documentation Tutorials Introduction to zc.buildout Repeatability and deployment issues

Repeatability and deployment issues

Repeating a buildout from a version of a configuraiton, and deployment issues to resolve
Jim Fulton's tutorial for using buildout, originally given at DZUG 2007
Page 17 of 17.

Repeatability

We want to be able to check certain configuration into svn that can be checked out and reproduced.

  • We let buildout tell what versions it picked for distributions

    • Run with -v

    • Look for outout lines of form:

      Picked: foo = 1.2
      
  • Include a versions section:

    [buildout]
    ...
    versions = myversions
    
    [myversions]
    foo = 1.2
    ...
    

Deployment issues

  • Need a way to record the versions of eggs used.
  • Need a way to generate distributable buildouts that contain all of the source distributions needed to build on a target machine (e.g. source RPMs).
  • Need to be able to generate source distributions. We need a way of gathering the sources used by a buildout so they can be distributed with it.

PyPI availability

A fairly significant issue is the availability of PyPI. PyPI is sometimes not available for minutes or hours at a time. This can cause buildout to become unusable.