[GRASS-user] AddOn or Script when compiling GRASS from source

William Kyngesburye woklist at kyngchaos.com
Tue Oct 11 10:17:20 EDT 2011

On OS X there are defined addon folders so you don't have to put anything in the application or some random path.


where [grassver] is the major.minor grass version.

This folder has a standard complement of bin/, docs/, etc/ and lib/.  bin/ doesn't care whether it's a script or compiled module, they all go here (unlike the main app that separates bin and scripts).

The startup will add anything in docs/html to an addon help page accessible from the Apple Help app (separate entry from the GRASS app help there).

The startup also creates an extension menu for the GUI.

This is all a part of the Mac build, and I don't know what, if anything, the Windows build does about this.

On Oct 11, 2011, at 7:30 AM, Johannes Radinger wrote:

> Hello,
> first of all I want to thank you for helping me in the past to learn
> how to compile GRASS. Now I am already able to compile GRASS GIS from SVN source on my Mac (and hopefully soon on Windows as well) including also AddOns like r.stream etc.
> The main purpose for learning this was that I also wrote a small python script/addon about fish dispersal which I want to use in future. In the past I put my python file into the modules/bin folder in my library. Then I was able to call it just with module.py.
> As I now also wrote a html description I wanted to build this script/addon with my source code.
> Here comes my question: What is now what I have? Is this a raster-addon or a script? What is the difference or is it just a matter of taste? I can put it into the script or the raster folder of my source (and modify the makefile accordingly). But where should it go?
> What I want in the end is just to call the it via the grass command-console in the gui and it should then contain the html-help-file.
> I'll also provide that addon/script to you as soon as it is working without any problems. Additionally I'll probably provide a sample dataset resp. a "how to use" file.
> Thank you very much!
> Johannes
> -- 
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

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

"Time is an illusion - lunchtime doubly so."

- Ford Prefect

More information about the grass-user mailing list