[GRASS-dev] [GRASS GIS] #1652: g.extension: provide option to use local source code instead of SVN
GRASS GIS
trac at osgeo.org
Sat Aug 2 19:05:22 PDT 2014
#1652: g.extension: provide option to use local source code instead of SVN
-------------------------------+--------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: unspecified
Keywords: g.extension addon | Platform: Unspecified
Cpu: Unspecified |
-------------------------------+--------------------------------------------
Comment(by wenzeslaus):
I've added a first draft of implementation of compilation of local source
code and its installation where it belongs. New code are few changes in
compilation function, new parameter and interception of standard flow and
executing the compile and install step without executing other things.
No error handling included. Except for MS Windows where it should fail.
But the interesting problem is that it should not fail for Python since
there is no reason for Python code to not be installed. But this requires
us to implement installation procedure of Python modules in Python instead
of Makefile.
Tested with a module in already downloaded SVN repository.
{{{
g.extension extension=i.edge operation=add
srcdir=/some/source/code/addons/grass7/imagery/i.edge
}}}
{{{
Instaling <i.edge> from directory
</some/source/code/addons/grass7/imagery/i.edge>...
Compiling...
Installing...
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1652#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list