Installation#

This project supports several installation workflows depending on the host and expected scale-out solution. The recommended environment and package manager is uv, which provides a much faster alternative to pip/poetry.

We strongly recommend using the provided setup.sh script to run within an Apptainer container. This ensures a consistent environment and prevents dependency conflicts, which is especially important if you plan to submit jobs to HTCondor. Alternatively, you can install the environment directly on your local machine.

Local Installation (Without Container)#

If you prefer to run on your local machine without a container, you can install the environment directly using uv.

Install uv#

curl -LsSf https://astral.sh/uv/install.sh | sh

Restart your shell or ensure uv is on your PATH. Verify the installation:

uv --version

Create the environment#

From the project root directory, create a virtual environment and sync the dependencies:

uv venv
uv sync --no-managed-python --link-mode copy

Note

If you are on the LPC and installing locally without setup.sh, you may want to add --extra lpc --extra condor to the sync command.

Verify the Installation#

Regardless of the installation method chosen, run the following command to verify that the environment was set up successfully:

uv run python3 -m analyzer --help