Install development area#

Install production version of PCIe400 software#

  • Create and activate the python virtual environment

        $ cd p400
        $ python3 -m venv venv
    
  • Add the path to the python repository for PCIe400 packages.

          $ wget https://gitlab.in2p3.fr/in2p3-readout400/software/p400-registry/-/raw/master/configure-pip-yum/pip.conf
          $ mv pip.conf venv
    
  • Activate the virtual environ

        $ source venv/bin/activate
        (venv) $ pip install -U pip
    
  • Install the latest production stack

        (venv) $ pip install p400-qa
    

Install python packages to be modified#

  • Clone python packages from GitLab

  • The list of PCIe400 packages is shown here

  • For exemple for the packages p400-xxx (replace xxx by qa, uc etc.):

        (venv) $ cd p400
        (venv) $ git clone git@gitlab.in2p3.fr:in2p3-readout400/software/p400-xxx.git
    
  • Install python package(s) to be modified in editable mode

        (venv) $ pip install -e p400-xxx
    
  • To modify a python packages follow the GitLab workflow