X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PACKAGER;h=8b3b8227863974d46a51140bb00a46d853e3127c;hb=530408ad94b783e1de68e31fdfc9b7306f8397b4;hp=d1775210be484efb6dec201abd7bfdb2e2008cf2;hpb=75cb824d97bf2b89e4517afe3d7ff9158a1876c7;p=gdcm.git diff --git a/PACKAGER b/PACKAGER index d1775210..8b3b8227 100644 --- a/PACKAGER +++ b/PACKAGER @@ -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