You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by kgiusti <gi...@git.apache.org> on 2016/11/07 14:25:17 UTC

[GitHub] qpid-proton pull request #85: PROTON-1330: [python] bundle the C source in t...

GitHub user kgiusti opened a pull request:

    https://github.com/apache/qpid-proton/pull/85

    PROTON-1330: [python] bundle the C source in the python source distri\u2026

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kgiusti/qpid-proton PROTON-1330

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-proton/pull/85.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #85
    
----
commit c917fe870e3f8e41a9ac7d295cc48cb08e002682
Author: Kenneth Giusti <kg...@apache.org>
Date:   2016-11-01T17:21:15Z

    PROTON-1330: [python] bundle the C source in the python source distribution

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] qpid-proton issue #85: PROTON-1330: [python] bundle the C source in the pyth...

Posted by kgiusti <gi...@git.apache.org>.
Github user kgiusti commented on the issue:

    https://github.com/apache/qpid-proton/pull/85
  
    I've got a different approach that may address the issues you've raised Andrew.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] qpid-proton issue #85: PROTON-1330: [python] bundle the C source in the pyth...

Posted by kgiusti <gi...@git.apache.org>.
Github user kgiusti commented on the issue:

    https://github.com/apache/qpid-proton/pull/85
  
    re: encoding.h and protocol.h:
    
    I didn't want to duplicate the generation of these files in the python CMakeLists.txt but as it stands now these files are generated during the build phase - not the cmake configuration pass.   I can either 1) require the C compilation is done prior to building the Python source distribution or 2) move the file generation to the cmake configuration phase.  
    
    re: packaging C source
    
    I'm not entirely sure I understand - are you suggesting some of the C files are not needed by the Python bindings?  I assume I can hunt around for these files, but isn't all Proton/C functionality accessible via the python bindings, since the binding is used by the python unit tests?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] qpid-proton pull request #85: PROTON-1330: [python] bundle the C source in t...

Posted by kgiusti <gi...@git.apache.org>.
Github user kgiusti closed the pull request at:

    https://github.com/apache/qpid-proton/pull/85


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] qpid-proton issue #85: PROTON-1330: [python] bundle the C source in the pyth...

Posted by astitcher <gi...@git.apache.org>.
Github user astitcher commented on the issue:

    https://github.com/apache/qpid-proton/pull/85
  
    A couple of comments:
    
    * It seems entirely arbitrary (to me anyway) to move generating encoding.h and protocol.h from the C build process to generating them when producing the C part of the python install. We know that we have python available at the time of build the C code (well duh!) so we could keep on generating at C build time when we do the python install.
    
    This seems to me to minimise the divergence between the packaged C source for the python package and the real C source tree.
    
    * Given the c code built by the python install is somewhat selective anyway - it makes sense (again to me anyway) only to package C source which is actually used in the library used by the python installation.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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