lincolnloop / lincoln-loop-deploy

An easy-to-use Fabric script for deploying Python projects

This URL has Read+Write access

Fabian Neumann (author)
Fri Dec 19 15:58:29 -0800 2008
lincolnloop (committer)
Wed Dec 24 09:59:05 -0800 2008
commit  77482a562be4c63e6d0fb840a20ee7ddcaa68828
tree    fc2eeb04474b48288a2a1edc8c7be39a6ad42853
parent  4162e9db8b2c80fde3eca6a596041c06229a42e9
name age message
file .gitignore Mon Dec 08 09:37:24 -0800 2008 initial public offering [lincolnloop]
file README.rst Loading commit data...
file fabfile.py Wed Dec 17 22:53:52 -0800 2008 Added bzr support. Signed-off-by: Peter Baumga... [skabber]
file fabreqs.py.example Mon Dec 08 09:37:24 -0800 2008 initial public offering [lincolnloop]
README.rst

Requirements

easy_install Fabric virtualenv

Quick-start

Create a folder that will serve as the home for your project source code and virtual environment. Drop fabfile.py and fabreqs.py into the directory and run:

fab bootstrap

This will create two new folders in the directory src, containing all the downloaded source code, and ve, which is a virtualenv that can be activated with source ve/bin/activate.

Usage

fabreqs.py is a simple Python file that should contain all the dependencies for your project. requirements is a list of Python dictionaries defining the external dependencies. Valid keys are:

  • name: Used for naming the source folder (required)
  • dist: Distribution method for the package, valid options are bzr, git, hg, pypi, svn, wget (required)
  • package: The Python package assumed to be inside the source folder. If not provided, the use of distutils (python setup.py install) is assumed (optional)
  • url: URL to source (optional)
  • rev: Revision to download. If not defined, the most recent available version will be used. (optional)
  • branch: Branch to use, git and hg only. (optional)