Installation

From PyPI

dicewars is available on The Python Package Index.

Preferably in a Python virtual env, run:

$ pip install dicewars

From source

Get the source code.

Inside the top-level source directory (and preferably in a Python virtual env), run:

$ pip install .

or

$ python setup.py install

Documentation

To build the documentation (from source) locally, install dependencies and run Sphinx:

$ cd doc
$ pip install -r requirements.txt
$ make html

The HTML documentation is generated in doc/_build/html/.