$ python2.6 virtualenv.py --no-site-packages deadparrot
$ wget svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py
$ bin/easy_install zc.buildout
$ bin/buildout init
Creating '/Users/pradeep/deadparrot/buildout.cfg'.
Creating directory '/Users/pradeep/deadparrot/parts'.
Creating directory '/Users/pradeep/deadparrot/develop-eggs'.
Generated script '/Users/pradeep/deadparrot/bin/buildout'.
I'm going to use Zope interfaces, so let me add that to the buildout file
Run the buildout.
$ bin/buildout
The project I'm going to develop is called deadparrot
. Following the convention, i'm going to create it under src
directory.
$ mkdir -p src/deadparrot
$ touch __init__.py
[python] recipe = zc.recipe.egg interpreter = squawk eggs = ${buildout:eggs}