[GRASS-dev] dateutil dependency killing GRASS 7

William Kyngesburye woklist at kyngchaos.com
Sun Oct 21 08:53:09 PDT 2012


Yes, it is in the system python lib folder on all the Macs I checked.

/System/Library/Frameworks/Python.framework/Versions/2.x/Extras/lib/python/dateutil

If compilation of matplotlib found it is missing, it would put it in the user site-packages folder (it does so for pytz and mpl_toolkits).

On Oct 20, 2012, at 11:35 PM, Michael Barton wrote:

> Are you sure it is there originally? Or is it present because you have installed other python apps like MatPlotLib? 
> 
> Thinking about this, it is really odd that it would somehow stop the GUI from loading at startup. Is there some kind of test for dateutil that happens at startup? 
> 
> Even if dateutil is missing, there should not be a crash or error until one of the modules that needs it is run and 'import datetuil' generates an error.
> 
> Michael
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity 
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
> 
> voice: 	480-965-6262 (SHESC), 480-727-9746 (CSDC)
> fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Oct 18, 2012, at 6:43 AM, William Kyngesburye <woklist at kyngchaos.com> wrote:
> 
>> I just got some time to briefly look at this - dateutil IS in OS X Python, 2.6 and 2.7.  (checked OS X Lion and Snow Leopard)
>> 
>> So if Mac users are having problems with a missing dateutil, then maybe they have another Python installed, like from python.org or MacPorts or Homebrew.  Then it's really a problem of installing dateutil in that other distribution.
>> 
>> On Oct 17, 2012, at 2:09 PM, Michael Barton wrote:
>> 
>>> This seems like a good idea. Gives us time to think about the value and costs of using and bundling dateutil.
>>> 
>>> Michael Barton
>>> School of Human Evolution &Social Change
>>> Center for Social Dynamics & Complexity
>>> Arizona State University
>>> 
>>> ...Sent from my iPad
>>> 
>>> On Oct 17, 2012, at 11:34 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:
>>> 
>>>> On 17/10/12 13:21, Sören Gebbert wrote:
>>>>> Hi Michael,
>>>>> sorry to introduce something painful as a python-dateutil dependency.
>>>>> My fault. I should have discussed this on the list indeed.
>>>>> 
>>>>> I have completely removed the dateutil dependency from the temporal
>>>>> GIS in r53435. For now
>>>>> only two types of calendar time stings are supported for parsing.
>>>> 
>>>> Do you really have to remove it completely ? Can't you check for its presence and if not present fall back on the basic date version ? And put a hint in the manuals about its installation being strongly recommended ?
>>>> 
>>>> Moritz
>> 
>> -----
>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>> 
>> The equator is so long, it could encircle the earth completely once.
>> 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect




More information about the grass-dev mailing list