forked from googlearchive/appengine-flask-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 3
/
buildout.cfg
120 lines (108 loc) · 2.37 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
[buildout]
extensions = mr.developer
auto-checkout =
# using git checkout until
flask-admin
parts =
gae_sdk
gae_tools
app_lib
local_dependencies
test_lib
nosetests
versions = versions
app-dir = ${buildout:directory}/app
tests-dir = ${buildout:directory}/tests
[versions]
# pinned to versions that appengine includes
# https://cloud.google.com/appengine/docs/python/tools/libraries27
lxml = 2.3.5
pycrypto = 2.6
# 2.4 doesn't work on appengine
requests = 2.3
Flask = 0.10
[sources]
flask-admin = git https://github.com/flask-admin/flask-admin.git update=true
[app_lib_base]
recipe = appfy.recipe.gae:app_lib
use-zipimport = false
ignore-globs =
*.c
*.pyc
*.pyo
[local_dependencies]
<= app_lib_base
lib-directory = local
eggs =
# pycrypto
# lxml
# pillow
[app_lib]
<= app_lib_base
# Sets the library dependencies for the app.
lib-directory = ${buildout:app-dir}/lib
# Define the libraries.
eggs =
Flask==0.10
Flask-Security
flask-admin
flask-wtf
wtforms_appengine
ignore-packages =
lxml
pycrypto
pillow
[gae_sdk]
# Downloads and extracts the App Engine SDK.
recipe = appfy.recipe.gae:sdk
destination = ${buildout:parts-directory}
hash-name = false
clear-destination = true
[gae_tools]
# Installs appcfg, dev_appserver and python executables in the bin directory.
recipe = appfy.recipe.gae:tools
sdk-directory = ${gae_sdk:destination}/google_appengine
# Add these paths to sys.path in the generated scripts.
# initialization =
# import dev_appserver
# dev_appserver.fix_sys_path()
extra-paths =
${buildout:app-dir}
${app_lib:lib-directory}
${local_dependencies:lib-directory}
[test_lib]
recipe = appfy.recipe.gae:app_lib
ignore-globs =
*.c
*.pyc
*.pyo
*/test*
lib-directory = ${buildout:directory}/tests/lib
eggs =
webtest
mock
fixture
extra-paths =
${buildout:app-dir}
${test_lib:lib-directory}
${gae_tools:sdk-directory}
[nosetests]
recipe = pbp.recipe.noserunner
eggs =
nose
nosegae
coverage
nose-exclude
extra-paths =
${buildout:app-dir}
${test_lib:lib-directory}
${gae_tools:sdk-directory}
defaults =
--logging-level=INFO
--with-gae
--no-path-adjustment
--gae-application=${buildout:app-dir}
--with-noseexclude
--exclude-dir=${test_lib:lib-directory}
--exclude-dir=${app_lib:lib-directory}
${buildout:tests-dir}