Skip to content
Philipp Niedermayer edited this page Jan 20, 2025 · 7 revisions

Setting up a development environment

Prerequisites: Up-to-date python installation with pip

Clone the repository

git clone [email protected]:xsuite/xplt.git
cd xplt
git checkout dev  # development branch

Setting up a virtual environment and install additional dependencies for development

virtualenv .venv
source .venv/bin/activate
pip install -r requirements/docs-requirements.txt # optional, only for python 3.12
pip install -r requirements/tests-requirements-py3.12.txt # adjust python version
pip install -e .
pip install pre-commit
pre-commit install
git config core.autocrlf input

Launch a Jupyter session for testing and debugging of the example notebooks

jupyter lab
Clone this wiki locally