[pytango] 244/483: removed garbage files from distribution

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:46 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 854bf98ba8e6c5ebc59cf93d10c9cc89bf38817a
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Tue Mar 12 14:58:35 2013 +0000

    removed garbage files from distribution
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22261 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 setup.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 8916007..6d755a0 100644
--- a/setup.py
+++ b/setup.py
@@ -104,6 +104,9 @@ def has_numpy(with_src=True):
     return ret
 
 def get_script_files():
+    
+    FILTER_OUT = "winpostinstall.py",
+    
     scripts_dir = abspath('scripts')
     scripts = []
     items = os.listdir(scripts_dir)
@@ -120,6 +123,8 @@ def get_script_files():
         # avoid any core dump... of course there isn't any :-) but just in case
         if item.startswith('core'):
             continue
+        if item in FILTER_OUT:
+            continue
         scripts.append('scripts/' + item)
     return scripts
 
@@ -205,7 +210,7 @@ class build_ext(dftbuild_ext):
             pipe = subprocess.Popen(compiler + ["-dumpversion"], stdout=subprocess.PIPE).stdout
             gcc_ver = pipe.readlines()[0].decode().strip().split(".")
             gcc_ver = list(map(int, gcc_ver))
-            if gcc_ver >= [4,3,3]:
+            if gcc_ver >= [4,0,0]:
                 self.use_cpp_0x = True
         dftbuild_ext.build_extensions(self)
 

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