[GRASS-dev] PIL needs to be a GRASS dependency

William Kyngesburye woklist at kyngchaos.com
Tue Nov 22 23:05:55 EST 2011

Well, I have Mac PIL and Numpy packages.  I don't think Python modules are something you should be bundling in GRASS binaries, since users may already have them installed.

If the GRASS installer (at least on OS X) could check for dependencies it wouldn't such a problem, since GRASS would simply not install and tell you what is missing.  That's been a low priority on my list to do for a while - add some mechanism for extending the installer creation in the bindist target, to allow packagers to specify dependency checks (it's not something that's easy or practical to do automatically based on configured dependencies).

On Nov 22, 2011, at 9:16 PM, Michael Barton wrote:

> Since the Python Imaging Library (PIL) is needed to fully use the cartographic composer, this needs to be a dependency of GRASS, just like numpy. Since both of these packages do not come with the standard Python distribution, it would be good if we could package/bundle them in binary distributions. Otherwise, stuff will not work. This is needed for GRASS 6.4 as well as GRASS 7. I'm not sure what is needed for this to happen, but it will be helpful to users (and very frustrating to them if not there).
> Michael

William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan

More information about the grass-dev mailing list