Installation Guide

  1. Clone the 2 repos:

  • dls-pmac-control.git

  • dls-pmac-lib.git

  1. Create & activate a Python3 virtual environment:

dls-python3 -m venv <path-to-virtual-env>

source venv/bin/activate
  1. Make sure to have an up-to-date version of pip and setuptools:

pip install --upgrade pip

pip install --upgrade setuptools
  1. Build the dls-pmac-lib module:

cd dls-pmac-lib

dls-python3 setup.py clean

dls-python3 setup.py build

dls-python3 setup.py install
  1. Install pyqt5:

cd dls-pmac-control

pip install pyqt5-tools
  1. Make the screens:

make clean

make
  1. Build the dls-pmac-control module:

dls-python3 setup.py clean

dls-python3 setup.py build

dls-python3 setup.py install
  1. Run the application from within the virtual environment:

dls-pmac-control