You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/07/03 22:13:46 UTC

[57/89] [abbrv] qpid-proton git commit: PROTON-1825: Create correct buildable source file list for PyPI package

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/go1
Commit: 9bb2ae5fdc978c1f26214b954e9d3012e045ef9b
Parents: e828055
Author: Andrew Stitcher <as...@apache.org>
Authored: Tue Apr 10 15:24:23 2018 -0400
Committer: Andrew Stitcher <as...@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org