Ticket #37: 0001-Enforce-using-local-dateutil-with-buildout.patch.1

File 0001-Enforce-using-local-dateutil-with-buildout.patch.1, 1.0 KB (added by Sebastian Spaeth, 14 years ago)

0001-Enforce-using-local-dateutil-with-buildout.patch

Line 
1From 239504eca0dff38a14cbc3ade0be87fdf1a0a71a Mon Sep 17 00:00:00 2001
2From: Sebastian Spaeth <Sebastian@SSpaeth.de>
3Date: Mon, 9 May 2011 01:08:46 +0200
4Subject: [PATCH] Enforce using local dateutil with buildout
5
6Natty has a too old system dateutil, but buildout will put the system
7modules 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
9and natty compiles (buildouts) fine.
10
11Part of http://bugs.foocorp.net/issues/308
12
13Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
14---
15 buildout.cfg | 4 +++-
16 1 files changed, 3 insertions(+), 1 deletions(-)
17
18diff --git a/buildout.cfg b/buildout.cfg
19index 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--
341.7.4.1
35