[pytango] 256/483: fixes #605 [pytango] use distutils.version module

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit aaad1a2f13222e3e76a129a1037a6e4543896da3
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Sat May 18 17:27:00 2013 +0000

    fixes #605 [pytango] use distutils.version module
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22685 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index de3611f..27b7809 100644
--- a/setup.py
+++ b/setup.py
@@ -153,7 +153,7 @@ class build(dftbuild):
             self.warn("NOT using numpy: numpy available but C source is not")
         
         if IPython and not self.without_ipython:
-            if _IPY_VER > [0,10]:
+            if V(IPython.__version__) > V('0.10'):
                 self.distribution.py_modules.append('IPython.config.profile.tango.ipython_config')
             else:
                 self.distribution.py_modules.append('IPython.Extensions.ipy_profile_tango')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list