[GRASS-dev] [GRASS GIS] #1768: wingrass6.x: python addon scripts aren't working

GRASS GIS trac at osgeo.org
Wed May 1 16:22:02 PDT 2013

#1768: wingrass6.x: python addon scripts aren't working
 Reporter:  hellik                   |       Owner:  grass-dev@…              
     Type:  defect                   |      Status:  new                      
 Priority:  critical                 |   Milestone:  6.4.4                    
Component:  Addons                   |     Version:  svn-releasebranch64      
 Keywords:  wingrass, python, addon  |    Platform:  MSWindows 7              
      Cpu:  x86-64                   |  

Comment(by hamish):

 For g6 there is an include/Make/Python.make, which it is unclear to me if
 it should be used for python addons scripts instead of re-using
 (shell)Script.make?, even though there are not really any python scripts
 outside of the special GUI cases there are ones in the g6 addons repo
 which need it.

 Likewise, for g7, Script.make has been repurposed for python scripts, but
 some accommodation should be available for end-users' personal shell
 scripts in some "Shell.make" or similar. There is a Python.make in g7 too,
 but it just seems to run the .pyc compiler.

 Also in the tools/module_svn_propset.sh script, there is an open question:
 should .py scripts have the exe bit set or not?

 AFAIK we are all in agreement that python scripts should have .py
 extensions in the source code repo(s), then the *.make rules strip those
 off at install time.


Ticket URL: <https://trac.osgeo.org/grass/ticket/1768#comment:1>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list