Skip to content
Snippets Groups Projects
Commit 60eb5913 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

Merge branch 'fix/new_penv_el9' into 'master'

fix: Update documentations after EL9 update

See merge request !1023
parents bd6d7cc5 d0a07b52
No related branches found
No related tags found
1 merge request!1023fix: Update documentations after EL9 update
...@@ -42,7 +42,7 @@ A quick setup would be: ...@@ -42,7 +42,7 @@ A quick setup would be:
1. ``source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate`` 1. ``source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate``
2. ``git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration`` - clone the offline calibration package from EuXFEL GitLab 2. ``git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration`` - clone the offline calibration package from EuXFEL GitLab
3. ``pyenv shell 3.8.11`` - load required version of python 3. ``pyenv shell 3.8.18`` - load required version of python
4. ``python3 -m venv .venv`` - create the virtual environment 4. ``python3 -m venv .venv`` - create the virtual environment
5. ``source .venv/bin/activate`` - activate the virtual environment 5. ``source .venv/bin/activate`` - activate the virtual environment
6. ``python3 -m pip install --upgrade pip`` - upgrade version of pip 6. ``python3 -m pip install --upgrade pip`` - upgrade version of pip
...@@ -55,7 +55,7 @@ Copy/paste script: ...@@ -55,7 +55,7 @@ Copy/paste script:
source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate
git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
cd pycalibration cd pycalibration
pyenv shell 3.8.11 pyenv shell 3.8.18
python3 -m venv .venv python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
...@@ -73,7 +73,7 @@ installation method instead. ...@@ -73,7 +73,7 @@ installation method instead.
1. ``source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate`` 1. ``source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate``
2. ``git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration`` - clone the offline calibration package from EuXFEL GitLab 2. ``git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration`` - clone the offline calibration package from EuXFEL GitLab
3. ``pyenv shell 3.8.11`` - load required version of python 3. ``pyenv shell 3.8.18`` - load required version of python
4. ``pip install .`` - install the pycalibration package (add ``-e`` flag for editable development installation) 4. ``pip install .`` - install the pycalibration package (add ``-e`` flag for editable development installation)
5. ``export PATH=$HOME/.local/bin:$PATH`` - make sure that the home directory is in the PATH environment variable 5. ``export PATH=$HOME/.local/bin:$PATH`` - make sure that the home directory is in the PATH environment variable
...@@ -83,7 +83,7 @@ Copy/paste script: ...@@ -83,7 +83,7 @@ Copy/paste script:
source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate
git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
pyenv shell 3.8.11 pyenv shell 3.8.18
cd pycalibration cd pycalibration
pip install --user . # `-e` flag for editable install, e.g. `pip install -e .` pip install --user . # `-e` flag for editable install, e.g. `pip install -e .`
export PATH=$HOME/.local/bin:$PATH export PATH=$HOME/.local/bin:$PATH
......
...@@ -31,7 +31,7 @@ A quick setup would be: ...@@ -31,7 +31,7 @@ A quick setup would be:
1. `source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate` 1. `source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate`
2. `git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration` - 2. `git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration` -
clone the offline calibration package from EuXFEL GitLab clone the offline calibration package from EuXFEL GitLab
3. `pyenv shell 3.8.11` - load required version of python 3. `pyenv shell 3.8.18` - load required version of python
4. `python3 -m venv .venv` - create the virtual environment 4. `python3 -m venv .venv` - create the virtual environment
5. `source .venv/bin/activate` - activate the virtual environment 5. `source .venv/bin/activate` - activate the virtual environment
6. `python3 -m pip install --upgrade pip` - upgrade version of pip 6. `python3 -m pip install --upgrade pip` - upgrade version of pip
...@@ -44,7 +44,7 @@ Copy/paste script: ...@@ -44,7 +44,7 @@ Copy/paste script:
source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate
git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
cd pycalibration cd pycalibration
pyenv shell 3.8.11 pyenv shell 3.8.18
python3 -m venv .venv python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment