intro.rst 1.0 KB

123456789101112131415161718192021222324252627282930
  1. Introduction
  2. =============
  3. To work with ``pygrass`` you need a up-to-date version of GRASS 7.
  4. You can obtain a recent version following the information on the
  5. `main web site <http://grass.osgeo.org/download/software.php#g70x>`_
  6. of GRASS, and you can read more about compilation on the
  7. `GRASS wiki <http://grass.osgeo.org/wiki/Compile_and_Install>`_
  8. Now you can download the ``pygrass`` source using ``git``
  9. ::
  10. git clone https://lucadeluge@code.google.com/p/pygrass/
  11. If you have not ``git`` you can install it from the `git website <http://git-scm.com/downloads>`_
  12. or download the source code of ``pygrass`` from `<http://code.google.com/p/pygrass/downloads/list>`_
  13. At this point you have to install ``pygrass``, so enter in the right
  14. folder and launch with administration permission
  15. ::
  16. python setup.py install
  17. The last action before start to work with ``pygrass`` is to run
  18. GRASS 7 and from the console launch ``python`` or ``ipython``
  19. (the second one is the the suggested)
  20. Read more about how to work with :doc:`raster`, :doc:`vector`, :doc:`modules`.