]> Creatis software - gdcm.git/blobdiff - PACKAGER
*** empty log message ***
[gdcm.git] / PACKAGER
index 55e3345adb857266930f316fbba4766ce451cf2e..d7b399f0cee53b91050d70d7a0a02cb0751bba94 100644 (file)
--- a/PACKAGER
+++ b/PACKAGER
@@ -13,7 +13,7 @@ Here is the checklist when freezing a version of gdcm:
        ./autogen.sh --enable-vtk --enable-python --enable-doxygen
        make
         
-    1b/ check the python test suite is clean (python testSuite.py)
+    1b/ check the python test suite is clean:
        cd gdcmPython
        export PYTHONPATH=`pwd`/..
        ln -s .libs/pygdcm.so _gdcm.so
@@ -23,31 +23,34 @@ Here is the checklist when freezing a version of gdcm:
     1c/ check the setup.py distutil script is operational and then validate
         its produced packages through the test suite, in all following cases
        - Direct installation:
-         cd $(GDCMHOME)
+         cd $GDCMHOME
          python setup.py install --prefix=/tmp/
          cd /tmp/lib/python2.2/site-packages/
-         ln -s $(GDCMDATAHOME) .
+         ln -s $GDCMHOME/gdcmData .
          export PYTHONPATH=`pwd`
          cd gdcmPython/
          python testSuite.py
+         cd $GDCMHOME
+         \rm -fr build /tmp/lib
        - Binary distribution:
-         cd $(GDCMHOME)
+         cd $GDCMHOME
          python setup.py bdist --formats=rpm
          su
-         rpm -Uvh dist/gdcmPython-0.[n].i386.rpm
+         rpm -Uvh dist/gdcmPython-0.*.i386.rpm
          cd /usr/lib/python2.2/site-packages/
-         Check out gdcmData
+         ln -s $GDCMHOME/gdcmData .
          cd gdcmPython
          python testSuite.py
          rpm --erase gdcmPython
        - Source distribution and then binary distribution (out of build 
          source distro):
-         cd $(GDCMHOME)
+         cd $GDCMHOME
          python setup.py sdist
          cd /tmp
-         tar zxvf $(GDCMHOME)/dist/gdcmPython-*.tar.gz
+         tar zxvf $GDCMHOME/dist/gdcmPython-*.tar.gz
          cd gdcmPython-*/
          python setup.py bdist --formats=rpm
+         cd dist
          As root, repeat above installation with rpm and test.
          
   2/ Windoze: