[pytango] 08/25: Fix get_script_files

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


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

sbodomerle-guest pushed a commit to tag v8.1.9
in repository pytango.

commit efba0bf4237f11ef3fe346aac5c667eb05181e9c
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date:   Wed Apr 6 13:30:20 2016 +0200

    Fix get_script_files
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 8c5842a..a752997 100644
--- a/setup.py
+++ b/setup.py
@@ -121,7 +121,7 @@ def has_numpy(with_src=True):
 
 
 def get_script_files():
-    major = platform.python_version_tuple()[0]
+    major = int(platform.python_version_tuple()[0])
     scripts = ['scripts/itango3' if major == 3 else 'scripts/itango']
     if os.name == "nt":
         scripts.append("scripts/pytango_winpostinstall.py")

-- 
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