<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thank you Moritz,</p>
    <p>I succeed to install python script, But.. my script use a custom
      lib in a sub-folder for my shared functions, so g.extension fails
      with the line "from gg.geolib import *". How may I manage this
      included lib ?</p>
    <p>Without this include, install works (only on console, not with
      gui) and allows to exec the script from console. I notice encoding
      manual is not in UTF-8. Is it possible to force UTF-8 encoding ?.
      However, my custom menu (toolboxes.xml) fails with the following
      error :</p>
    <p>"/usr/local/grass-7.4.0svn/gui/wxpython/lmgr/frame.py", line<br>
      905, in OnMenuCmd<br>
      <br>
      GUI(parent=self, giface=self._giface).ParseCommand(cmd)<br>
        File<br>
      "/usr/local/grass-7.4.0svn/gui/wxpython/gui_core/forms.py",<br>
      line 2834, in ParseCommand<br>
      <br>
      raise gcmd.GException(e.value)<br>
      core.gcmd<br>
      .<br>
      GException<br>
      :<br>
      Unable to fetch interface description for command<br>
      'gzvibin.py'.<br>
      Details: [Errno 2] No such file or directory</p>
    <p>Thank you for your help.</p>
    <p>Frank<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 26/04/2018 à 14:36, Moritz Lennert a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:d058b051-35e5-03bd-a867-2c49deaf4628@club.worldonline.be">On
      26/04/18 12:05, Frank David wrote:
      <br>
      <blockquote type="cite">Dear all,
        <br>
        <br>
        I would like to setup the manual page of my python scripts in
        the gui. I
        <br>
        alreaday create them from --html-description and put them in my
        script
        <br>
        directory. But it does not work. I tried in ../docs/html/ but
        without
        <br>
        sccess. If I copy them in /usr/local/grass-7.4.0/docs/html it
        works !
        <br>
        <br>
        Is there any way (html path variable ?) to use html from a
        personnal
        <br>
        directory ?
        <br>
      </blockquote>
      <br>
      You can install your scripts as extension modules. Then the man
      pages will be installed in .grass7/addons/docs.
      <br>
      <br>
      The easiest would be to create a directory for each module with
      the code, a ModuleName.html file with the sections DESCRIPTION,
      NOTES, AUTHOR, etc (but not the output of --html-description, this
      will be added automatically !), and a Makefile. You can then call
      g.extension with the url= parameter pointing to that directory and
      everything will be installed automatically. Look at any of the
      Python modules in
      <a class="moz-txt-link-freetext" href="https://trac.osgeo.org/grass/browser/grass-addons/grass7">https://trac.osgeo.org/grass/browser/grass-addons/grass7</a> to see
      how to write the Makefile and what the content of the .html file
      looks like.
      <br>
      <br>
      Moritz
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <style>
div#signature {font-size:10px;color:#666;margin:10px 0}
span#geophom {font-size:11px;color:#A1CD1A}
div#important {font-size:10px;color:#CB110B;font-style:italic}
</style>
      <div id="signature"> <span id="geophom"><b>Geophom</b></span><br>
        327 rue de Vieille Cour 44521 OUDON<br>
        Tel +33(0)2 85 52 02 59 - Port +33(0)6 04 47 91 06<br>
        <a class="moz-txt-link-abbreviated" href="http://www.geophom.fr">www.geophom.fr</a><br>
      </div>
    </div>
  </body>
</html>