forked from bird-house/flyingpigeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
118 lines (101 loc) · 2.51 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
[buildout]
extends = versions.cfg
develop = .
# buildout options
show-picked-versions = true
newest = false
download-cache = downloads
# conda
# offline: make sure you have all deps in environment.yml
conda-offline = true
conda-channels = conda-forge defaults birdhouse
## extensions
# use python site-packages
# https://pypi.python.org/pypi/buildout.locallib/
extensions = buildout.locallib
parts =
flyingpigeon
pywps
www_static
# ipython
pytest
sphinx
docker
[settings]
hostname = localhost
http-port = 8093
https-port = 28093
output-port = 8090
log-level = INFO
prefix = ${environment:HOME}/birdhouse
user =
etc-user =
name = flyingpigeon
project = Flyingpigeon
version = 0.2.5
www-directory = ${:prefix}/var/www/${:name}
[flyingpigeon]
recipe = zc.recipe.egg
eggs =
flyingpigeon
pywps
interpreter = python
[pywps]
recipe = birdhousebuilder.recipe.pywps
name = ${settings:name}
# conda
channels = conda-forge defaults birdhouse
pkgs = pywps=3.2.6
# deployment options
prefix = ${settings:prefix}
user = ${settings:user}
etc-user = ${settings:etc-user}
# service options
hostname = ${settings:hostname}
http-port = ${settings:http-port}
https-port = ${settings:https-port}
output-port = ${settings:output-port}
# pywps options
title = ${settings:project}
abstract = Processes for climate data, indices and extreme events
keywords = WPS, PyWPS, Birdhouse, Flyingpigeon, Python, Climate
providerName = Birdhouse/${settings:project}
providerSite = http://flyingpigeon.readthedocs.org/en/latest/
processesPath = ${buildout:directory}/flyingpigeon/processes
logLevel = ${settings:log-level}
maxoperations = 100
# flyingigeon options
www_url = http://${settings:hostname}:${settings:output-port}/${settings:name}
[environment]
recipe = collective.recipe.environment
[www_static]
recipe = collective.recipe.rsync
source = ${buildout:directory}/${settings:name}/static
target = ${settings:www-directory}
[ipython]
recipe = zc.recipe.egg
eggs =
ipython
${flyingpigeon:eggs}
entry-points =
ipython=IPython:start_ipython
scripts =
ipython=ipython
[pytest]
recipe = zc.recipe.egg
eggs =
pytest
${flyingpigeon:eggs}
[sphinx]
recipe = birdhousebuilder.recipe.sphinx
project = ${settings:project}
version = ${settings:version}
src = flyingpigeon
[docker]
recipe = birdhousebuilder.recipe.docker
description = ${settings:project} WPS Application
version = ${settings:version}
expose = 9001 8093 28093 $OUTPUT_PORT
#git-url = https://github.com/bird-house/flyingpigeon
environment =
OUTPUT_PORT=38093