Setup ===== User setup ---------- Obtaining multistar ................... To install on Unix-like systems (Linux, MacOS) .. code-block:: shell ssh-keygen -a 256 -t ed25519 send :code:`~/.ssh/id_ed25519.pub` to get git repository access. .. code-block:: shell ssh-agent $SHELL ssh-add [type passphrase] cd mkdir python cd python git clone git@star.sci.monash.edu:python/source In :code:`.bashrc` or :code:`.zshrc.`, add :code:`${HOME}/python/source` and :code:`${HOME}/python/source/projects` to :code:`PYTHONPATH` and :code:`${HOME}/python/source/bin` to :code:`PATH` environment variables. .. code-block:: shell export PYTHONPATH=${HOME}/python/source:${HOME}/python/source/projects:${PYTHONPATH} export PATH=${HOME}/python/source/bin:${PATH} Required Python modules ....................... apng numpy numpy-quaternion scipy Cython meson ninja libconf matplotlib psutil pillow tqdm py-cpuinfo PyYAML tqdm .. code-block:: shell pip install -U ipython apng numpy numpy-quaternion scipy Cython meson ninja libconf matplotlib psutil pillow py-cpuinfo PyYAML tqdm Recommended Python modules .......................... ipython vtk plotly kepler (not public) .. code-block:: shell pip install -U ipython vtk plotly .. note:: ``vtk`` tends to be a bit behind, wheels for pip are only made when a new version is released after a well-established Python release. Very annoying. System packages ............... LaTeX ffmpeg Documentation ------------- Required Python packages ........................ sphinx sphinx_rtd_theme pydata_sphinx_theme sphinx-design .. code-block:: shell pip install -U sphinx sphinx_rtd_theme pydata_sphinx_theme sphinx-design Building documentation ...................... To compile the documentation, go to subdirectory :code:`multistar/doc` and set up `meson`: .. code-block:: shell meson setup _build cd _build meson compile html You can point your web browser to the local folder under ``multistar/doc/_build/html/index.html`` Installing documentation ........................ To put files on the server (:code:`c`), I use .. code-block:: shell meson compile web