Repository navigation
Expand file tree
/
Copy pathbuildout.cfg
More file actions
86 lines (73 loc) · 1.9 KB
/
Copy pathbuildout.cfg
File metadata and controls
86 lines (73 loc) · 1.9 KB
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 =
pyzmq
pyyaml
gevent
python
unittest
unzip = true
# extends = versions.cfg
versions = versions
# Using our server instead of Pypi for indexing when Pypi goes wrong
# index = http://ooici.net/releases
# When set to false, buildout and its recipe versions must be
# explicitly pinned down and defined.
allow-picked-versions = true
# Useful line to print out the buildout versions you are using
extensions = buildout-versions
# Tells buildout where to download packages in addition to Pypi.
find-links =
http://ooici.net/releases
# Use this section only if you want to override the
# versions in the parent file.
[versions]
setuptools=0.6c11
pyzmq=2.1.7
pyyaml=3.10
gevent=0.13.6
# Added specific include dir to work with brew install on Mac
[pyzmq]
recipe = zc.recipe.egg:custom
include-dirs = /usr/local/include
# Added specific include dir to work with brew install on Mac
[pyyaml]
recipe = zc.recipe.egg:custom
include-dirs = /usr/local/include
# Added specific include dir to work with brew install on Mac
[gevent]
recipe = zc.recipe.egg:custom
include-dirs = /usr/local/include
[python]
recipe = zc.recipe.egg:scripts
interpreter = python
scripts =
nosetests
pycc
pyccd
control_cc
generate_interfaces
ipython
json_report
clear_couch
entry-points =
ipython=scripts.ipython:main
nosetests=nose:run_exit
pyccd=scripts.pyccd:start_debugging
eggs =
pyon
[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)