Skip to content
Snippets Groups Projects
installation.rst 948 B
Newer Older
spmohanty's avatar
spmohanty committed
.. highlight:: shell

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


Stable release
--------------

To install flatland, run this command in your terminal:

.. code-block:: console

spmohanty's avatar
spmohanty committed
    $ pip install flatland-rl
spmohanty's avatar
spmohanty committed

This is the preferred method to install flatland, as it will always install the most recent stable release.

If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process.

.. _pip: https://pip.pypa.io
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/


From sources
------------

spmohanty's avatar
spmohanty committed
The sources for flatland can be downloaded from the `Gitlab repo`_.
spmohanty's avatar
spmohanty committed

spmohanty's avatar
spmohanty committed
You can clone the public repository:
spmohanty's avatar
spmohanty committed

.. code-block:: console

spmohanty's avatar
spmohanty committed
    $ git clone git@gitlab.aicrowd.com:flatland/flatland.git
spmohanty's avatar
spmohanty committed

Once you have a copy of the source, you can install it with:

.. code-block:: console

    $ python setup.py install


spmohanty's avatar
spmohanty committed
.. _Gitlab repo: https://gitlab.aicrowd.com/flatland/flatland