.. _installation: ============ Installation ============ The recommended installation method for **signac** is via conda_ or pip_. The software is tested for Python versions 3.8+ and has minimal dependencies. Some features such as the HDF5 integration require additional packages. The signac framework uses the `NEP 29 deprecation policy `__ as a guideline for when to drop support for Python and NumPy versions, and does not guarantee support beyond the versions recommended in that proposal. .. _conda: https://conda.io/ .. _conda-forge: https://conda-forge.org/ .. _pip: https://pip.pypa.io/en/stable/ Install with conda ================== You can install **signac** via conda (available on the conda-forge_ channel), with: .. code:: bash $ conda install -c conda-forge signac All additional dependencies will be installed automatically. To upgrade the package, execute: .. code:: bash $ conda update signac Install with pip ================ To install the package with the package manager pip_, execute .. code:: bash $ pip install signac --user .. note:: It is highly recommended to install the package into the user space and not as superuser! To upgrade the package, simply execute the same command with the ``--upgrade`` option. .. code:: bash $ pip install signac --user --upgrade Consider installing :ref:`optional dependencies `. Source Code Installation ======================== Alternatively you can clone the `git repository `_ and pip install it directly (Option 1), or install directly from git (Option 2). .. code:: bash # Option 1 git clone https://github.com/glotzerlab/signac.git cd signac pip install . # Option 2 pip install git+https://github.com/glotzerlab/signac.git Consider installing :ref:`optional dependencies `. .. _optional_dependencies: Optional dependencies ===================== Unless you install via conda_, optional dependencies are not installed automatically. In case you want to use extra features that require external packages, you need to install these manually. Extra features with dependencies: .. glossary:: HDF5 integration required: ``h5py``