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 2015/06/18 22:15:52 UTC

[47/50] [abbrv] qpid-proton git commit: PROTON-490: Check on linux|linux2 in the setup.py

PROTON-490: Check on linux|linux2 in the setup.py

(cherry picked from commit cf3acf7cf9b7a06dbbcc5afee4ec6df2ec66e488)


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

Branch: refs/heads/kgiusti-python3
Commit: 13546483d2e1cdc26a2d941763db078a07e54d0d
Parents: 13cc729
Author: Flavio Percoco <fl...@gmail.com>
Authored: Thu Jun 18 11:34:51 2015 +0200
Committer: Ken Giusti <kg...@apache.org>
Committed: Thu Jun 18 14:00:47 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/13546483/proton-c/bindings/python/setup.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/setup.py b/proton-c/bindings/python/setup.py
index 1620b38..4cdd721 100755
--- a/proton-c/bindings/python/setup.py
+++ b/proton-c/bindings/python/setup.py
@@ -335,7 +335,8 @@ class Configure(build_ext):
         return not self.check_qpid_proton_version()
 
     def run(self):
-        if sys.platform == 'linux2':
+        # linux2 for python<3.0
+        if sys.platform in ['linux', 'linux2']:
             if self.bundle_proton:
                 self.bundle_libqpid_proton_extension()
 


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