You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2016/05/19 14:49:05 UTC

[1/2] qpid-proton git commit: PROTON-1202: python setup.py - only extract the files necessary for building the C library.

Repository: qpid-proton
Updated Branches:
  refs/heads/0.12.x a9c41ef19 -> fc8796441


PROTON-1202: python setup.py - only extract the files necessary for
building the C library.

(cherry picked from commit 6b05d0107c6c70152769c43a97a347df30b92572)


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

Branch: refs/heads/0.12.x
Commit: 0952cf54b4243a4217549adc58d8df4cdbd37a70
Parents: a9c41ef
Author: Ken Giusti <kg...@apache.org>
Authored: Tue May 17 13:36:23 2016 -0400
Committer: Ken Giusti <kg...@apache.org>
Committed: Thu May 19 09:17:22 2016 -0400

----------------------------------------------------------------------
 proton-c/bindings/python/setuputils/bundle.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0952cf54/proton-c/bindings/python/setuputils/bundle.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/setuputils/bundle.py b/proton-c/bindings/python/setuputils/bundle.py
index a0eb160..2838477 100644
--- a/proton-c/bindings/python/setuputils/bundle.py
+++ b/proton-c/bindings/python/setuputils/bundle.py
@@ -69,6 +69,14 @@ def fetch_archive(savedir, url, fname):
 
 def fetch_libqpid_proton(savedir):
     """Download qpid-proton to `savedir`."""
+    def _c_only(members):
+        # just extract the files necessary to build the shared library
+        for tarinfo in members:
+            npath = os.path.normpath(tarinfo.name)
+            if ("proton-c/src" in npath or
+                "proton-c/include" in npath or
+                "proton-c/mllib" in npath):
+                yield tarinfo
     dest = os.path.join(savedir, 'qpid-proton')
     if os.path.exists(dest):
         log.info("already have %s" % dest)
@@ -79,6 +87,6 @@ def fetch_libqpid_proton(savedir):
     if member == '.':
         member = tf.getmembers()[1].path
     with_version = os.path.join(savedir, member)
-    tf.extractall(savedir)
+    tf.extractall(savedir, members=_c_only(tf))
     tf.close()
     shutil.move(with_version, dest)


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


[2/2] qpid-proton git commit: NO-JIRA: bump python bindings post-release version for PyPi

Posted by kg...@apache.org.
NO-JIRA: bump python bindings post-release version for PyPi


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

Branch: refs/heads/0.12.x
Commit: fc87964419372cb261810a4c9649f7a5b2a5d399
Parents: 0952cf5
Author: Ken Giusti <kg...@apache.org>
Authored: Thu May 19 10:40:05 2016 -0400
Committer: Ken Giusti <kg...@apache.org>
Committed: Thu May 19 10:40:05 2016 -0400

----------------------------------------------------------------------
 proton-c/bindings/python/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/fc879644/proton-c/bindings/python/setup.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/setup.py b/proton-c/bindings/python/setup.py
index 8c815cd..2a49f79 100755
--- a/proton-c/bindings/python/setup.py
+++ b/proton-c/bindings/python/setup.py
@@ -366,7 +366,7 @@ cmdclass = {'configure': Configure,
             'sdist': CheckSDist}
 
 setup(name='python-qpid-proton',
-      version=bundle.bundled_version_str,
+      version=bundle.bundled_version_str + ".post1",
       description='An AMQP based messaging library.',
       author='Apache Qpid',
       author_email='proton@qpid.apache.org',


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