-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuildout.cfg
86 lines (76 loc) · 1.86 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
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
[buildout]
develop =
.
parts =
project-directories
python
eggs =
pyon
unzip = true
show-picked-versions = true
# extends = versions.cfg
versions = versions
# Using our server instead of Pypi for indexing when Pypi goes wrong
# index = http://sddevrepo.oceanobservatories.org/releases/
# When set to false, buildout and its recipe versions must be
# explicitly pinned down and defined.
allow-picked-versions = true
# Tells buildout where to download packages in addition to Pypi.
find-links =
http://sddevrepo.oceanobservatories.org/releases/
# Use this section only if you want to override the
# versions in the parent file.
[versions]
gevent=0.13.8
###
#
# set up the directory structure
#
[project-directories]
recipe = z3c.recipe.mkdir
paths =
logs
[gcoverage_patch]
recipe =
zc.recipe.egg
eggs =
coverage==3.5.2pl1
gevent==0.13.7.1
find-links =
http://sddevrepo.oceanobservatories.org/releases/coverage-3.5.2pl1.tar.gz
http://sddevrepo.oceanobservatories.org/releases/gevent-0.13.7.1.tar.gz
[python]
recipe = zc.recipe.egg
interpreter = python
scripts =
nosetests
pycc
pyccd
control_cc
generate_interfaces
store_interfaces
ipython
manhole
json_report
clear_couch
entry-points =
ipython=scripts.ipython:main
nosetests=nose:run_exit
pyccd=scripts.pyccd:start_debugging
manhole=scripts.manhole:main
eggs =
${buildout:eggs}
[unittest]
recipe = iw.recipe.cmd:py
on_install = true
on_update = true
cmds=
import os
input = open(os.path.join(buildout.get('directory', '.'), 'unittest'))
bin_dir = buildout.get('bin-directory', 'bin')
output_file = os.path.join(bin_dir, 'unittest')
output = open(output_file, 'w')
[output.write(s.replace('python', os.path.join(bin_dir, 'python'))) for s in input.xreadlines()]
output.close()
input.close()
os.system('chmod +x %s' % output_file)