From 6c6038148f59030d415550c88b51fd5a857c4082 Mon Sep 17 00:00:00 2001 From: Martyn Gigg <martyn.gigg@stfc.ac.uk> Date: Thu, 20 Dec 2018 10:50:32 +0000 Subject: [PATCH] Update Python3.rst --- dev-docs/source/Python3.rst | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/dev-docs/source/Python3.rst b/dev-docs/source/Python3.rst index df4ea4b95c8..85915a6d2ad 100644 --- a/dev-docs/source/Python3.rst +++ b/dev-docs/source/Python3.rst @@ -12,29 +12,12 @@ migration strategy for Mantid. Building Against Python 3 ######################### -This is currently only possible on a Linux system with a pre-installed version of python 3. You need -to install some additional packages as shown below: - -.. code-block:: sh - - apt-get install python3-sip-dev python3-pyqt4 python3-numpy python3-scipy python3-sphinx \ - python3-sphinx-bootstrap-theme python3-dateutil python3-matplotlib ipython3-qtconsole \ - python3-h5py python3-yaml - -or on fedora, with slightly different package names - -.. code-block:: sh - - dnf install python3-sip-devel python3-PyQt4-devel python3-numpy python3-scipy python3-sphinx \ - python3-sphinx-theme-bootstrap python3-dateutil python3-matplotlib python3-ipython-gui \ - boost-python3-devel python3-h5py python3-yaml - -then set ``-DPYTHON_EXECUTABLE=/usr/bin/python3`` when running cmake before building. Please note that +This is currently only possible on a Linux system with a pre-installed version of python 3 and you will need to have +the latest version of the `mantid-developer` package installed. Once installed run cmake as standard but with the additional option ``-DPYTHON_EXECUTABLE=/usr/bin/python3``. Please note that reconfiguring an existing Python 2 build is not supported - a build in a fresh build directory is required. .. warning:: - If any of these packages are installed via pip, this could cause conflicts. - Install as described here only. + Do not install python packages via ``pip``. Install packages only from the system repositories. Supporting Python 2 and 3 ######################### -- GitLab