1 | From 239504eca0dff38a14cbc3ade0be87fdf1a0a71a Mon Sep 17 00:00:00 2001
|
---|
2 | From: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
---|
3 | Date: Mon, 9 May 2011 01:08:46 +0200
|
---|
4 | Subject: [PATCH] Enforce using local dateutil with buildout
|
---|
5 |
|
---|
6 | Natty has a too old system dateutil, but buildout will put the system
|
---|
7 | modules in the search path first. By adding the dateutil spec to the
|
---|
8 | 'egg' requirement, we put the dateutil inclusion of the local egg first
|
---|
9 | and natty compiles (buildouts) fine.
|
---|
10 |
|
---|
11 | Part of http://bugs.foocorp.net/issues/308
|
---|
12 |
|
---|
13 | Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
---|
14 | ---
|
---|
15 | buildout.cfg | 4 +++-
|
---|
16 | 1 files changed, 3 insertions(+), 1 deletions(-)
|
---|
17 |
|
---|
18 | diff --git a/buildout.cfg b/buildout.cfg
|
---|
19 | index 520d590..a77bf93 100644
|
---|
20 | --- a/buildout.cfg
|
---|
21 | +++ b/buildout.cfg
|
---|
22 | @@ -6,7 +6,9 @@ parts = mediagoblin make_user_dev_dirs
|
---|
23 | recipe=zc.recipe.egg
|
---|
24 | interpreter=python
|
---|
25 | dependent-scripts = true
|
---|
26 | -eggs=mediagoblin
|
---|
27 | +eggs=
|
---|
28 | + python-dateutil>=1.5.0,<2.0.0
|
---|
29 | + mediagoblin
|
---|
30 | entry-points =
|
---|
31 | nosetests=nose:run_exit
|
---|
32 | paster=paste.script.command:run
|
---|
33 | --
|
---|
34 | 1.7.4.1
|
---|
35 |
|
---|