Set up sys.path to include ParaView, if available

This checks the TRAME_PARAVIEW environment variable and the –paraview argument in sys.argv. The specified path will then be automatically searched for the python library directory and, if found, it will be added to the sys.path so that the ParaView libraries may be imported.

To use: specify one of the following, and then import this file:
  • –paraview /path/to/paraview/release argument

  • environment variable TRAME_PARAVIEW=/path/to/paraview/release