btbytes (owner)

Revisions

gist: 108120 Download_button fork
public
Public Clone URL: git://gist.github.com/108120.git
buildout.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[buildout]
parts = python libs
develop = .
eggs = deadparrot
 
[libs]
recipe = zc.recipe.egg
eggs = zope.interface
 
[python]
recipe = zc.recipe.egg
interpreter = squawk
eggs = ${buildout:eggs}
 
deadparrot.md

Deadparrot

$ 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

adding a custom shell

[python] recipe = zc.recipe.egg interpreter = squawk eggs = ${buildout:eggs}