You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2015/07/18 00:07:29 UTC

[3/3] qpid-proton git commit: NO-JIRA: Make tox get the path for swig from the SWIG env var if present

NO-JIRA: Make tox get the path for swig from the SWIG env var if present


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

Branch: refs/heads/master
Commit: 71f0be88ee8649e98571e6208858945f1d2708f6
Parents: 198af3d
Author: Andrew Stitcher <as...@apache.org>
Authored: Fri Jul 17 17:36:23 2015 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Fri Jul 17 17:39:37 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/71f0be88/proton-c/bindings/python/setup.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/setup.py b/proton-c/bindings/python/setup.py
index d4eb3ca..1624e5e 100755
--- a/proton-c/bindings/python/setup.py
+++ b/proton-c/bindings/python/setup.py
@@ -120,6 +120,9 @@ class Configure(build_ext):
     def prepare_swig_wrap(self):
         ext = self.distribution.ext_modules[-1]
 
+        if 'SWIG' in os.environ:
+            self.swig = os.environ['SWIG']
+
         try:
             # This will actually call swig to generate the files
             # and list the sources.


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