Getting iDEA ============ Installation requirements ------------------------- * `Python `_ 3.3 or later * `pip `_ 10.0 or later * *(optional)* `pandoc `_ for compiling the documentation Installing iDEA ---------------- The simplest way to install iDEA is to install the latest stable version directly from PYPI: .. code-block:: bash pip install --user idea-code If you are planning to modify iDEA, get the latest version from the git repository: .. code-block:: bash # Clone from the central repository git clone https://github.com/godby-group/idea-public.git idea-public # Install & compile iDEA for your unix user # (including packages for generating the documentation) cd idea-public pip install --user -e .[doc] --no-build-isolation # Run example calculation idea-run Updating iDEA ------------- .. code-block:: bash # Pull all changes from central git repository git pull origin master # Remove the compiled cython modules python setup.py clean --all # Recompile the cython modules python setup.py build_ext --inplace .. _generate-documentation: Generating the documentation ----------------------------- A recent version of the documentation can be found on the iDEA web page. If you are making changes to the code and/or the documentation, you may need to generate the documentation by yourself: .. code-block:: bash cd doc bash make_doc.sh # find html documentation in _build/html/index.html # find test coverage report in _build/coverage/index.html Besides HTML, the iDEA documentation can also be compiled as a pdf. If you have a LaTeX distribution installed on your system, simply do: .. code-block:: bash cd doc make latexpdf