[pytango] 227/483: Modified setup.py to take into account lib64 8

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:44 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 46c4a9d7240eb2018058d1c40ab69d9eba2b9936
Author: trogucki <trogucki at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Thu Jan 31 14:26:17 2013 +0000

    Modified setup.py to take into account lib64 8
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22008 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 setup.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 8eca70c..2e161e6 100644
--- a/setup.py
+++ b/setup.py
@@ -474,12 +474,17 @@ def main():
         libraries.append(boost_library_name)
 
         is64 = 8 * struct.calcsize("P") == 64
+        print('is64 = ' + str(is64))
         omni_lib = os.path.join(OMNI_ROOT, 'lib')
         if is64:
             omni_lib = os.path.join(OMNI_ROOT, 'lib64')
+            print('1. omni_lib = ' + str(omni_lib))
             try: 
                 if not os.stat(d): raise Exception('%s_doesnt_exist'%d)
-            except: omni_lib = os.path.join(OMNI_ROOT, 'lib')
+            except:
+                omni_lib = os.path.join(OMNI_ROOT, 'lib')
+                print('2. omni_lib = ' + str(omni_lib))
+        print('3. omni_lib = ' + str(omni_lib))
         library_dirs += [ omni_lib ]
 
 

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