forked from fixture-py/fixture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
43 lines (40 loc) · 1.41 KB
/
buildout.cfg
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
[buildout]
develop = .
fixture/examples/pylons_example/addressbook
src/nosedjango-for-fixture
parts = test interpreter
[test]
recipe = pbp.recipe.noserunner
eggs =
Routes==1.10.3
Pylons==0.9.7
django>=1.1
fixture
NoseDjango
testtools
SQLObject==0.8
Elixir>=0.5
simplejson
SQLAlchemy==0.4.8
Sphinx>=0.4
storm>=0.15
psycopg2
defaults = -v --with-doctest --doctest-extension=rst -i examples -i pylons_example -i addressbook --with-pylons=${buildout:directory}/fixture/examples/pylons_example/addressbook/test.ini --with-django --django-settings-path=${buildout:directory}/fixture/examples/django_example/
#working-directory = ${buildout:directory}/fixture/
extra_path = = ${buildout:directory}/fixture/fixture/test/test_loadable/test_django/
script = test-fixture
initialization = import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'fixture.examples.django_example.settings'
import sys
# hmmmmm, I don't know why develop= does not solve this. One idea is that
# nose is changing directories before importing addressbook and perhaps that
# nullifies the develop egg
sys.path.append('${buildout:directory}/fixture/examples/pylons_example/addressbook')
[interpreter]
recipe = zc.recipe.egg
eggs = ${test:eggs}
interlude
entry-points =
manage=fixture.examples.django_example.manage:main
initialization = ${test:initialization}
interpreter = python