forked from siggame/discuss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
89 lines (78 loc) · 2.61 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
##
#
# Buildout configuration for Discuss
#
# Prerequisites:
# * You'll need to have the following packages installed:
# * libpq-dev - For psygopg2 PostgreSQL driver
# * python-dev - For any applications with C extensions
# * libncurses-dev - For readline
#
##
[buildout]
extends = versions.cfg
parts =
django
production
var-directory
evolution
gunicorn
eggs-directory = var/eggs
parts-directory = var/parts
develop-eggs-directory = var/develop-eggs
versions = versions
show-picked-versions = true
# Inspects versions.cfg looking for out-of-date packages.
# It's very useful for upgrading pinned packages.
[evolution]
recipe = zc.recipe.egg
eggs = buildout-versions-checker
scripts = check-buildout-updates=evolve
arguments = '-s versions.cfg --indent 2'
# Creates several subdirectories with var/ so that the django project
# can store database files and uploaded files
[var-directory]
recipe = z3c.recipe.mkdir
paths = var/db
var/logs
# Install Gunicorn: a WSGI server for Python
[gunicorn]
recipe = zc.recipe.egg
scripts = gunicorn=gunicorn
eggs = gunicorn
${production:eggs}
# Creates a django project for the app to live in
[django]
recipe = djangorecipe
project = discuss
settings = discuss.development
# Inherit all eggs from [production], then add a few more below
eggs = ${production:eggs}
# Developer Eggs (Packages to help us develop)
werkzeug # Used by django-extensions
django-debug-toolbar # Toolbar to help web debugging
# Creates a django project for the production app
[production]
recipe = djangorecipe
project = discuss
settings = discuss.production
eggs =
# Django Dependencies
psycopg2 # Postgres driver
pillow # Portable version of the Python Imaging Library
PyYAML # Allows us to use YAML with django
Markdown # Allows users to write using Markdown
bleach # HTML sanitizer
python-memcached # Memcache module
requests # For sending HTTP requests
# Django apps
django-crispy-forms # Makes for nice forms
django-allauth # Provides account/login services
raven # Sentry client
# Developer Eggs (Packages to help us develop)
ipython # Gives us a fancy ipython interpreter for django shell
readline # Needed by ipython
django-extensions # Provides some extra django management commands
django-nose # Django-nose allows us to run tests with nose
django-admin-tools # Admin tools
feedparser # Used by django-admin-tools