.. _installation:
Installation
------------
Pygacity can be installed via pip from PyPI:
.. code-block:: bash
pip install pygacity
Alternatively, you can install Pygacity directly from the source code. First, clone the repository:
.. code-block:: bash
git clone git@github.com:cameronabrams/pygacity.git # ssh access assumed
Then, navigate to the cloned directory and install using pip:
.. code-block:: bash
cd pygacity
pip install -e . # the -e flag installs in editable mode
Pygacity uses ``latexmk`` (configured to run XeLaTeX) and ``pythontex`` to build assignments and exams. Make sure you have a working LaTeX distribution installed on your system. You can download and install `TexLive `_ or `MikTex `_. These distributions include ``latexmk``, ``xelatex``, and ``pythontex``.