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

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

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

  • buildout.cfg

    From afd58ee2592ee1c8acc01f661553b0c2318dda1c Mon Sep 17 00:00:00 2001
    From: Sebastian Spaeth <Sebastian@SSpaeth.de>
    Date: Mon, 9 May 2011 01:08:46 +0200
    Subject: [PATCH] Enforce using local dateutil with buildout
    
    Natty has a too old system dateutil, but buildout will put the system
    modules in the search path first. By adding the dateutil spec to the
    'egg' requirement, we put the dateutil inclusion of the local egg first
    and natty compiles (buildouts) fine.
    
    Part of http://bugs.foocorp.net/issues/308
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    ---
     buildout.cfg |    4 +++-
     1 files changed, 3 insertions(+), 1 deletions(-)
    
    diff --git a/buildout.cfg b/buildout.cfg
    index 520d590..a77bf93 100644
    a b parts = mediagoblin make_user_dev_dirs  
    66recipe=zc.recipe.egg
    77interpreter=python
    88dependent-scripts = true
    9 eggs=mediagoblin
     9eggs=
     10    python-dateutil>=1.5.0,<2.0.0
     11    mediagoblin
    1012entry-points =
    1113    nosetests=nose:run_exit
    1214    paster=paste.script.command:run