forked from ooici/coi-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
127 lines (110 loc) · 2.94 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[buildout]
develop =
.
../pyon
parts =
pyzmq
pyyaml
gevent
numpy-install
h5py
python
unittest
eggs =
coi-services
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
h5py=2.0.1
# 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
[h5py]
recipe = zc.recipe.egg:custom
include-dirs = /usr/local/include
[numpy-src]
recipe = hexagonit.recipe.download
url = http://pypi.python.org/packages/source/n/numpy/numpy-1.6.1.tar.gz#md5=2bce18c08fc4fce461656f0f4dd9103e
ignore-existing = true
[numpy-install]
recipe = z3c.recipe.egg:setup
setup = ${numpy-src:location}/numpy-1.6.1
args =
clean
build
install
[matplotlib-src]
recipe = hexagonit.recipe.download
url = http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz
[matplotlib-install]
recipe = z3c.recipe.egg:setup
setup = ${matplotlib-src:location}/matplotlib-1.1.0
args =
clean
build
install
[python]
recipe = zc.recipe.egg
find-links =
https://github.com/ooici/marine-integrations/tarball/master#egg=marine_integrations-1.0
interpreter = python
scripts =
nosetests
pycc
pyccd
control_cc
generate_interfaces
store_interfaces
ipython
coverage
entry-points =
pycc=scripts.pycc:entry
pyccd=scripts.pyccd:start_debugging
control_cc=scripts.control_cc:main
generate_interfaces=scripts.generate_interfaces:main
store_interfaces=scripts.store_interfaces:main
ipython=scripts.ipython:main
nosetests=nose:run_exit
coverage=coverage: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)