X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=WrapVTK.py;h=49758c93bdb6da19d5729d1cd15132bb6e26c8a5;hb=9ab2e9d4f106a4587c3d4f8f3de93def93e5b43e;hp=49772bccece695f40e1c20289e0257678ab6ca52;hpb=73dbefbe532057ce77d9f338a4dc093cdce89898;p=gdcm.git diff --git a/WrapVTK.py b/WrapVTK.py index 49772bcc..49758c93 100644 --- a/WrapVTK.py +++ b/WrapVTK.py @@ -30,7 +30,8 @@ class VTKWrapper(Wrapper): for source in sources: (base,ext)=os.path.splitext(source) fileName=os.path.split(base) - if((ext==".cxx")and(fileName[-1][0:3]=="vtk")): + if((ext==".cxx")and(fileName[-1][0:3]=="vtk") + and(fileName[-1][-6:]!="Python")): newSources.append(source) newSources.append(base+target_ext) vtkSources.append(base+'.h') @@ -41,7 +42,7 @@ class VTKWrapper(Wrapper): # Find vtkWrapPython wrapper=self.FindvtkWrapPython() if(not self.__extWrap.vtkHints): - self.__extWrap.vtkHints="toto" + self.__extWrap.vtkHints="dummyHints" wrapCmd=[wrapper] for source in vtkSources: