]> Creatis software - gdcm.git/blobdiff - PACKAGER
Benoit Regrain : Modify the rules for checking the paths
[gdcm.git] / PACKAGER
index d1775210be484efb6dec201abd7bfdb2e2008cf2..1644da26194f0b7b0a135b7f56404bb0249e1efb 100644 (file)
--- a/PACKAGER
+++ b/PACKAGER
@@ -24,7 +24,7 @@ Here is the checklist when freezing a version of gdcm:
         its produced packages through the test suite, in all following cases
        - Direct installation:
          cd $GDCMHOME
-         python setup.py install --prefix=/tmp/
+         python setup.py install --prefix=/tmp
          cd /tmp/lib/python2.2/site-packages/
          ln -s $GDCMHOME/gdcmData .
          export PYTHONPATH=`pwd`
@@ -34,6 +34,12 @@ Here is the checklist when freezing a version of gdcm:
          \rm -fr build /tmp/lib
        - Binary distribution:
          cd $GDCMHOME
+         make clean
+            [ or you migth get some complains about the function 
+              PyVTKClass_vtkGdcmReaderNew being multiply defined: this is
+              because of the loose definition of vtkSources in setup.py
+              in which the usage of the glob function will produce a link
+              stage with multiple occurences of vtkGdcmReaderPython.o)].
          python setup.py bdist --formats=rpm
          su
          rpm -Uvh dist/gdcmPython-0.*.i386.rpm
@@ -45,6 +51,7 @@ Here is the checklist when freezing a version of gdcm:
        - Source distribution and then binary distribution (out of build 
          source distro):
          cd $GDCMHOME
+         [make clean (see above) ]
          python setup.py sdist
          cd /tmp
          tar zxvf $GDCMHOME/dist/gdcmPython-*.tar.gz