]> Creatis software - gdcm.git/commitdiff
* gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
authorregrain <regrain>
Fri, 9 Jan 2004 14:32:54 +0000 (14:32 +0000)
committerregrain <regrain>
Fri, 9 Jan 2004 14:32:54 +0000 (14:32 +0000)
     * setup.py : use a reference to gdcmVERSION
     -- BeNours

ChangeLog
gdcmPython/gdcmVersion.py [new file with mode: 0644]
setup.py

index 8c0b3acde479c4e6d3eb480ea9467e8166394620..5e88ab4fb3f5c8491fc573fca6127178639e40c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-09 Benoit Regrain
+     * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
+     * setup.py : use a reference to gdcmVERSION
+
 2004-01-07 Benoit Regrain
      * Modification to compile with the distutils.
      * Bug fix in code
diff --git a/gdcmPython/gdcmVersion.py b/gdcmPython/gdcmVersion.py
new file mode 100644 (file)
index 0000000..f82cbc8
--- /dev/null
@@ -0,0 +1,2 @@
+gdcmVERSION="0.3.1"
+
index 66759c4ece10a13b1ebb3cc6098e70af169f270e..669bd6fe2849b3a031684e26c51c0f38b0ef018b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,7 @@ import glob, os, sys, shutil
 from distutilsWrapping import *
 from WrapSwig import *
 from WrapVTK import *
+from gdcmPython.gdcmVersion import *
 
 ThisModule='gdcmPython'
 gdcmPythonSrcDir=ThisModule
@@ -94,7 +95,7 @@ vtkLibraries=["vtkCommon","vtkCommonPython",
 
 ##### 
 setup(name=ThisModule,
-      version="0.3",
+      version=gdcmVERSION,
       description="...",
       author="frog",
       author_email="frog@creatis.insa-lyon.fr",