Repository: qpid-proton
Updated Branches:
  refs/heads/master e828055b2 -> 9bb2ae5fd


PROTON-1825: Create correct buildable source file list for PyPI package


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/9bb2ae5f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/9bb2ae5f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/9bb2ae5f

Branch: refs/heads/master
Commit: 9bb2ae5fdc978c1f26214b954e9d3012e045ef9b
Parents: e828055
Author: Andrew Stitcher <astitc...@apache.org>
Authored: Tue Apr 10 15:24:23 2018 -0400
Committer: Andrew Stitcher <astitc...@apache.org>
Committed: Tue Apr 10 15:24:23 2018 -0400

----------------------------------------------------------------------
 python/setup.py.in | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9bb2ae5f/python/setup.py.in
----------------------------------------------------------------------
diff --git a/python/setup.py.in b/python/setup.py.in
index af93db5..76efa14 100755
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -140,21 +140,21 @@ class Configure(build_ext):
         # anything windows and configuration-dependent
 
         sources = []
-        cfgdep = ['libuv.c',
-                  'openssl.c',
+        cfgdep = ['openssl.c',
                   'schannel.c',
                   'ssl_stub.c',
                   'cyrus_sasl.c',
                   'cyrus_stub.c',
-                  'snprintf.c',
-                  'win_iocp.c']
+                  'snprintf.c']
 
-        for root, dirs, files in os.walk(proton_src):
-            if 'tests' in dirs:
-                dirs.remove('tests')
+        stripdirs = ['proactor',
+                     'msvc',
+                     'windows']
 
-            if 'windows' in dirs:
-                dirs.remove('windows')
+        for root, dirs, files in os.walk(proton_src):
+            for dir_ in stripdirs:
+                if dir_ in dirs:
+                    dirs.remove(dir_)
 
             for file_ in files:
                 if file_.endswith('.c') and file_ not in cfgdep:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to