Salome HOME
pythonpath_reduction: Corrections
authorDUC ANH HOANG <duc-anh-externe.hoang@edf.fr>
Tue, 12 Oct 2021 13:10:35 +0000 (15:10 +0200)
committervsr <vsr@opencascade.com>
Tue, 23 Nov 2021 16:15:07 +0000 (19:15 +0300)
commita995259110ddbb3380b65ceace3361c1b5ea8e8d
tree85961db5a3e67cf34dbbe191afe9a193122a6600
parent9fc1cca75056e65dd46aadfec1ddbe3e1577b1c3
pythonpath_reduction: Corrections

- Minor correction. Actually, we don't need the prerequisites install dir

- Upgrade pythonpath_reduction.py script
  Using argparse, add options to customize :
  * salome-install-dir
  * context-file name
  * env-file name

- Backup of files is done. These backups are used at start if they exist.
  This allows to use this script several times.

  On linux, in the python_modules directory, symlinks are created instead of copies.

- Fix remove link and add ignore option

- Only one directory is mandatory

- Install site-patch.py from setuptools

- Minor correction; get absolute path of salome_install_dir, embed paraview pythonpath into python_modules
bin/pythonpath_reduction.py