]> Creatis software - gdcm.git/blobdiff - gdcmPython/setup.py.in
*FIX: Some compilation problem on SunOS with no ANSI STRING STREAM
[gdcm.git] / gdcmPython / setup.py.in
index 3a8d31c8c304cc15cc0c7073b8646904b07aa675..fe7a51d356060cfde71bca6d83d5a01946a54f4a 100644 (file)
@@ -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)