X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=gdcmPython%2Fsetup.py.in;h=fe7a51d356060cfde71bca6d83d5a01946a54f4a;hb=4a07b1470f68d316f570fef1f07b9f9c77e90ee1;hp=3a8d31c8c304cc15cc0c7073b8646904b07aa675;hpb=c70b5c8d7ece98b98048ce057d54794dcdc61722;p=gdcm.git diff --git a/gdcmPython/setup.py.in b/gdcmPython/setup.py.in index 3a8d31c8..fe7a51d3 100644 --- a/gdcmPython/setup.py.in +++ b/gdcmPython/setup.py.in @@ -21,7 +21,7 @@ if(os.name=='posix'): libraries=["stdc++"] macros =[('__STDC_LIMIT_MACROS', '1')] - VTKPATH="${VTK_DIR}" + VTKPATH="${VTKPATH}" vtkWrapper="vtkWrapPython" else: targetDir=os.path.join('lib','site-packages') @@ -34,7 +34,7 @@ else: err=str(e) print "Environment variable",err[err.rfind(':')+1:],'not defined, '\ 'please fix it!' - VTKPATH="${VTK_DIR}" + VTKPATH="${VTKPATH}" vtkWrapper=os.path.join(VTKPATH,"bin","vtkWrapPython") targetDir=os.path.join(targetDir, ThisModule)