summaryrefslogtreecommitdiff
path: root/buildout.cfg
blob: d42a92f6346fae47e4325f217978c8f3c0551d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[buildout]
extends		= versions.cfg
versions	= versions
parts		= django
		  test
		  demo
		  docs
		  api
		  tox
		  cover
		  pep8
		  pyflakes
		  patch-nosedjango
develop		= .
eggs 		= django
		  django-gstudio
		  django-tagging
		  django-bitly
		  django-xmlrpc
		  django-mptt
		  pyparsing
		  tweepy
		  gdata
		  feedparser
		  BeautifulSoup
		  PIL
		  south
		  docutils
		  Markdown
		  textile
		  akismet
		  nose
		  coverage
		  NoseDjango
		  rednose

find-links	= http://dist.repoze.org/

unzip		= true

[django]
recipe		= djangorecipe
projectegg 	= gstudio
settings 	= testsettings
eggs 		= ${buildout:eggs}

[demo]
recipe		= djangorecipe
projectegg 	= demo
settings 	= settings
eggs 		= ${buildout:eggs}

[test]
recipe		= pbp.recipe.noserunner
eggs 		= ${buildout:eggs}
extra-paths 	= ${django:location}
defaults 	= --rednose
	   	  --with-django
		  --with-xunit
		  --xunit-file=docs/tests.xml
environment	= testenv

[cover]
recipe		= pbp.recipe.noserunner
eggs 		= ${buildout:eggs}
extra-paths 	= ${django:location}
defaults 	= --with-coverage
		  --cover-package=gstudio
		  --cover-erase
		  --cover-html
		  --cover-html-dir=docs/coverage
		  --with-django
environment	= testenv

[docs]
recipe		= collective.recipe.sphinxbuilder
source		= ${buildout:directory}/docs
build 		= ${buildout:directory}/docs/build
eggs 		= ${buildout:eggs}

[api]
recipe		= z3c.recipe.epydoc
eggs		= ${buildout:eggs}
		  z3c.recipe.epydoc
		  django
doc		= gstudio
defaults	= ['--config=docs/epydoc.conf']

[pyflakes]
recipe		= zc.recipe.egg
scripts 	= pyflakes
eggs 		= pyflakes
entry-points 	= pyflakes=pkg_resources:run_script
arguments 	= 'pyflakes', 'pyflakes'

[tox]
recipe          = zc.recipe.egg
scripts         = tox
eggs            = tox
entry-points    = tox=tox:cmdline

[pep8]
recipe		= zc.recipe.egg
eggs 		= pep8

[testenv]
DJANGO_SETTINGS_MODULE = gstudio.testsettings

[patch-nosedjango]
recipe          = collective.recipe.patch
egg             = NoseDjango==0.6
patches         = patches/NoseDjango-0.6.patch