Package: paraview / 5.4.1+dfsg4-3.1

fix_path_paraview.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix python path
Author: Anton Gladky <gladk@debian.org> 
Last-Update: 2016-02-03

Index: ParaView-v5.4.1/Wrapping/Python/paraview/__init__.py
===================================================================
--- ParaView-v5.4.1.orig/Wrapping/Python/paraview/__init__.py
+++ ParaView-v5.4.1/Wrapping/Python/paraview/__init__.py
@@ -17,6 +17,10 @@ ParaView modules to force backwards comp
   from paraview.simple import *
 """
 
+import sys
+sys.path.append('/usr/lib/python2.7/dist-packages/paraview')
+
+
 #==============================================================================
 #
 #  Program:   ParaView