Installation
==============

Easy way
---------

Just install it with `pip <http://www.pip-installer.org/>`_: ::

    pip install 2gis

or `easy_install <http://pypi.python.org/pypi/setuptools>`_: ::

    easy_install 2gis

Sources
--------

Sources `is available <https://github.com/svartalf/python-2gis>`_ on GitHub.

Clone the public repository: ::

    git clone git://github.com/svartalf/python-2gis.git

Download the tarball: ::

    $ curl -OL https://github.com/svartalf/python-2gis/tarball/master

Or, download the zipball: ::

    $ curl -OL https://github.com/svartalf/python-2gis/zipball/master

Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily: ::

    $ python setup.py install
