Re: [GRASS-user] GRASS python + PyCharm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [GRASS-user] GRASS python + PyCharm

Markus Neteler
On Wed, Jun 12, 2019 at 10:49 AM Helmut Kudrnovsky <[hidden email]> wrote:
>
> Hi,
>
> PyCharm is a nice python IDE.
>
> anyone some experiences to share how to integrate GRASS python (pygrass and
> grass script) into the PyCharm IDE environment?

Please add your notes also here then:

https://grasswiki.osgeo.org/wiki/Tools_for_Python_programming#PyCharm_IDE

thanks
Markus
_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: [GRASS-user] GRASS python + PyCharm

wenzeslaus


On Wed, Jun 12, 2019 at 5:09 PM Markus Neteler <[hidden email]> wrote:
On Wed, Jun 12, 2019 at 10:49 AM Helmut Kudrnovsky <[hidden email]> wrote:
>
> Hi,
>
> PyCharm is a nice python IDE.
>
> anyone some experiences to share how to integrate GRASS python (pygrass and
> grass script) into the PyCharm IDE environment?

Please add your notes also here then:

https://grasswiki.osgeo.org/wiki/Tools_for_Python_programming#PyCharm_IDE

Or, if PyCharm allows you to supply custom executable and parameters script execution, you can try to set it up with `grass ... --exec`. The drawback is that debugger may not support that.

Alternatively, as a combination of both, you can set up a shortcut for "PyCharm with GRASS GIS" using `grass --tmp-location XY --exec pycharm`. In that case, as in case with running it inside, some Python version/packages issues may arise more likely.

Best,
Vaclav

Vaclav

_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev