Skip to content

Installation

uv is used to manage the python development environment; installation instructions for uv are here.

A simple way to create an environment with the desired version of python and uv is to use a virtual environment. E.g.:

uv venv --python 3.12 --seed
source .venv/bin/activate
# --group is required to install `mkdocs` and associated dependencies,
# which are required for development
uv pip install --group dev --group docs

If, during uv pip install on Mac OS X errors are encountered running gcc/clang to build pybedtools or other packages with native code, try setting the following and re-running `uv pip install`:

export CFLAGS="-stdlib=libc++"