[vtk-developers] [VTK 0013858]: Default setup for Python bindings should respect $DESTDIR

Mantis Bug Tracker mantis at public.kitware.com
Sat Feb 2 07:30:34 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13858 
====================================================================== 
Reported By:                Andrzej Giniewicz
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13858
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   low
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-02-02 07:30 EST
Last Modified:              2013-02-02 07:30 EST
====================================================================== 
Summary:                    Default setup for Python bindings should respect
$DESTDIR
Description: 
Default install of Python bindings does not respect DESTDIR variable. On Arch
Linux we apply patch along the lines of:

--- VTK/Wrapping/Python/CMakeLists.txt.orig	2013-02-02 12:56:08.067142089 +0100
+++ VTK/Wrapping/Python/CMakeLists.txt	2013-02-02 12:58:16.182794679 +0100
@@ -558,7 +558,7 @@
 
     # Create default python setup arguments if they are not set.
     IF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
-      SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
+      SET(VTK_PYTHON_SETUP_ARGS "--root=\"${DOLLAR}DESTDIR\"
--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
         CACHE STRING "Arguments passed to \"python setup.py install ...\"
during installation.")
       MARK_AS_ADVANCED(VTK_PYTHON_SETUP_ARGS)
     ENDIF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)

although this isn't cross-platform solution.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-02 07:30 Andrzej GiniewiczNew Issue                                    
======================================================================




More information about the vtk-developers mailing list