Package: paraview / 5.9.0-2

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: 2020-11-12

Index: paraview-5.9.0~rc1/Wrapping/Python/paraview/__init__.py
===================================================================
--- paraview-5.9.0~rc1.orig/Wrapping/Python/paraview/__init__.py
+++ paraview-5.9.0~rc1/Wrapping/Python/paraview/__init__.py
@@ -18,6 +18,10 @@ ParaView modules to force backwards comp
 """
 from __future__ import absolute_import
 
+import sys
+sys.path.append('/usr/lib/python3/dist-packages/paraview')
+
+
 #==============================================================================
 #
 #  Program:   ParaView