[ 
https://issues.apache.org/jira/browse/PROTON-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14588545#comment-14588545
 ] 

ASF subversion and git services commented on PROTON-908:
--------------------------------------------------------

Commit 56af1189cf2e6a769b0452a102a795a6f906b470 in qpid-proton's branch 
refs/heads/master from [~flaper87]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=56af118 ]

PROTON-908: Remove install-runtime dependency on swig

The patch allows python-qpid-proton for generating the `cproton_wrap.c`
file when creating the distribution package. Since this file is already
cross-platform, it should be safe to ship it as part of the
python-qpid-proton package.

This allows us for building the bindings even when swig is not
available. The setup.py process will try to generate a new
cproton_wrap.c everytime but it'll fallback to the one distributed with
the package if swig is not available.

Note that this will be done just in the platforms where bundling
proton-c is supported. The reason being that, in the other platforms, w
can't verify whether the installed qpid-proton version is the same that
was used to generated these files


> Use swig as a build dependency when possible
> --------------------------------------------
>
>                 Key: PROTON-908
>                 URL: https://issues.apache.org/jira/browse/PROTON-908
>             Project: Qpid Proton
>          Issue Type: Bug
>            Reporter: Flavio Percoco
>            Assignee: Ken Giusti
>         Attachments: 
> 0001-PROTON-908-Remove-install-runtime-dependency-on-swig.patch
>
>
> python-qpid-proton depends on swig to generate the C/python wrappers for 
> proton-c.
> It is possible to soften this dependency by making it a build (sdist in 
> python jargon) dependency instead of a runtime/install dependency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to