[jira] [Commented] (PROTON-895) Rely on python to build the downloaded tarball

2015-06-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14588283#comment-14588283
 ] 

ASF subversion and git services commented on PROTON-895:


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

PROTON-895: missing errno import


 Rely on python to build the downloaded tarball
 --

 Key: PROTON-895
 URL: https://issues.apache.org/jira/browse/PROTON-895
 Project: Qpid Proton
  Issue Type: Bug
Reporter: Flavio Percoco
Assignee: Ken Giusti
 Attachments: 0001-Rely-on-python-to-build-downloaded-tarball.patch


 Recently, a patch that made python-qpid-proton's setup.py download proton-c 
 and build it whenever it's not found in the system. The patch relied on cmake 
 to build the library as everyone would do when building proton-c.
 While that works, it's not the right, most pythonic, reliable way to do it. 
 Some reasons why it's not a good thing:
 1. It might overwrite a system qpid install if there's one and if the 
 python-qpid-proton library is being installed in the system
 2. It requires users - including CI systems, etc - to have cmake installed.
 3. It does everything from outside the Python mechanism.
 The patch proposed in this bug changes the current behavior in favor of using 
 Python's build extensions to compile the library. The patch follows the same 
 steps as you'd do with cmake and it does it *just* for the downloaded 
 tarball. If there's an installed proton-c library, there's nothing to do. If 
 you're building it using cmake from a proton-c dir, it'll keep using cmake 
 normally.
 The built library doesn't have the same name as the global one and it's 
 installed along with the python binding instead of installing header files 
 and the library itself system wide.



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


[jira] [Commented] (PROTON-895) Rely on python to build the downloaded tarball

2015-06-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14583534#comment-14583534
 ] 

ASF subversion and git services commented on PROTON-895:


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

PROTON-895: Let tox handle sdist and install steps (patch from Flavio Percoco).

Since we're not using cmake anymore, we can let tox handle the sdist and
install steps so that everything happens within the tox venv.


 Rely on python to build the downloaded tarball
 --

 Key: PROTON-895
 URL: https://issues.apache.org/jira/browse/PROTON-895
 Project: Qpid Proton
  Issue Type: Bug
Reporter: Flavio Percoco
Assignee: Ken Giusti
 Attachments: 0001-Rely-on-python-to-build-downloaded-tarball.patch


 Recently, a patch that made python-qpid-proton's setup.py download proton-c 
 and build it whenever it's not found in the system. The patch relied on cmake 
 to build the library as everyone would do when building proton-c.
 While that works, it's not the right, most pythonic, reliable way to do it. 
 Some reasons why it's not a good thing:
 1. It might overwrite a system qpid install if there's one and if the 
 python-qpid-proton library is being installed in the system
 2. It requires users - including CI systems, etc - to have cmake installed.
 3. It does everything from outside the Python mechanism.
 The patch proposed in this bug changes the current behavior in favor of using 
 Python's build extensions to compile the library. The patch follows the same 
 steps as you'd do with cmake and it does it *just* for the downloaded 
 tarball. If there's an installed proton-c library, there's nothing to do. If 
 you're building it using cmake from a proton-c dir, it'll keep using cmake 
 normally.
 The built library doesn't have the same name as the global one and it's 
 installed along with the python binding instead of installing header files 
 and the library itself system wide.



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


[jira] [Commented] (PROTON-895) Rely on python to build the downloaded tarball

2015-06-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14577535#comment-14577535
 ] 

ASF subversion and git services commented on PROTON-895:


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

PROTON-895: fix the Cyrus SASL check


 Rely on python to build the downloaded tarball
 --

 Key: PROTON-895
 URL: https://issues.apache.org/jira/browse/PROTON-895
 Project: Qpid Proton
  Issue Type: Bug
Reporter: Flavio Percoco
Assignee: Ken Giusti
 Attachments: 0001-Rely-on-python-to-build-downloaded-tarball.patch


 Recently, a patch that made python-qpid-proton's setup.py download proton-c 
 and build it whenever it's not found in the system. The patch relied on cmake 
 to build the library as everyone would do when building proton-c.
 While that works, it's not the right, most pythonic, reliable way to do it. 
 Some reasons why it's not a good thing:
 1. It might overwrite a system qpid install if there's one and if the 
 python-qpid-proton library is being installed in the system
 2. It requires users - including CI systems, etc - to have cmake installed.
 3. It does everything from outside the Python mechanism.
 The patch proposed in this bug changes the current behavior in favor of using 
 Python's build extensions to compile the library. The patch follows the same 
 steps as you'd do with cmake and it does it *just* for the downloaded 
 tarball. If there's an installed proton-c library, there's nothing to do. If 
 you're building it using cmake from a proton-c dir, it'll keep using cmake 
 normally.
 The built library doesn't have the same name as the global one and it's 
 installed along with the python binding instead of installing header files 
 and the library itself system wide.



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


[jira] [Commented] (PROTON-895) Rely on python to build the downloaded tarball

2015-06-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14574519#comment-14574519
 ] 

ASF subversion and git services commented on PROTON-895:


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

PROTON-895: Rely on python to build downloaded tarball

Instead of using cmake to build the downloaded tarball, rely on python
for building and installing the library. This process is not only
cleaner but also plays nicer with the environment we're trying to give
support to.

In addition to the above, this plays nicer with the user and removes a
requirement for having the library installed. Note that the built
library will no longer overwrite system libraries but it'll be placed
along to the python bindings we're building.

(cherry picked from commit f2e97708a9c0da049bbc5089909fc31ab092edf8)


 Rely on python to build the downloaded tarball
 --

 Key: PROTON-895
 URL: https://issues.apache.org/jira/browse/PROTON-895
 Project: Qpid Proton
  Issue Type: Bug
Reporter: Flavio Percoco
Assignee: Ken Giusti
 Attachments: 0001-Rely-on-python-to-build-downloaded-tarball.patch


 Recently, a patch that made python-qpid-proton's setup.py download proton-c 
 and build it whenever it's not found in the system. The patch relied on cmake 
 to build the library as everyone would do when building proton-c.
 While that works, it's not the right, most pythonic, reliable way to do it. 
 Some reasons why it's not a good thing:
 1. It might overwrite a system qpid install if there's one and if the 
 python-qpid-proton library is being installed in the system
 2. It requires users - including CI systems, etc - to have cmake installed.
 3. It does everything from outside the Python mechanism.
 The patch proposed in this bug changes the current behavior in favor of using 
 Python's build extensions to compile the library. The patch follows the same 
 steps as you'd do with cmake and it does it *just* for the downloaded 
 tarball. If there's an installed proton-c library, there's nothing to do. If 
 you're building it using cmake from a proton-c dir, it'll keep using cmake 
 normally.
 The built library doesn't have the same name as the global one and it's 
 installed along with the python binding instead of installing header files 
 and the library itself system wide.



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


[jira] [Commented] (PROTON-895) Rely on python to build the downloaded tarball

2015-06-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14575172#comment-14575172
 ] 

ASF subversion and git services commented on PROTON-895:


Commit 801052159a18c6e68256dcfb9a9eca8a48b6732c in qpid-proton's branch 
refs/heads/0.9.x from [~flaper87]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=8010521 ]

PROTON-895: Rely on python to build downloaded tarball

Instead of using cmake to build the downloaded tarball, rely on python
for building and installing the library. This process is not only
cleaner but also plays nicer with the environment we're trying to give
support to.

In addition to the above, this plays nicer with the user and removes a
requirement for having the library installed. Note that the built
library will no longer overwrite system libraries but it'll be placed
along to the python bindings we're building.

(cherry picked from commit 4ed130ebd051a64b6aaf99c4adfdc0f7a56b4707)


 Rely on python to build the downloaded tarball
 --

 Key: PROTON-895
 URL: https://issues.apache.org/jira/browse/PROTON-895
 Project: Qpid Proton
  Issue Type: Bug
Reporter: Flavio Percoco
Assignee: Ken Giusti
 Attachments: 0001-Rely-on-python-to-build-downloaded-tarball.patch


 Recently, a patch that made python-qpid-proton's setup.py download proton-c 
 and build it whenever it's not found in the system. The patch relied on cmake 
 to build the library as everyone would do when building proton-c.
 While that works, it's not the right, most pythonic, reliable way to do it. 
 Some reasons why it's not a good thing:
 1. It might overwrite a system qpid install if there's one and if the 
 python-qpid-proton library is being installed in the system
 2. It requires users - including CI systems, etc - to have cmake installed.
 3. It does everything from outside the Python mechanism.
 The patch proposed in this bug changes the current behavior in favor of using 
 Python's build extensions to compile the library. The patch follows the same 
 steps as you'd do with cmake and it does it *just* for the downloaded 
 tarball. If there's an installed proton-c library, there's nothing to do. If 
 you're building it using cmake from a proton-c dir, it'll keep using cmake 
 normally.
 The built library doesn't have the same name as the global one and it's 
 installed along with the python binding instead of installing header files 
 and the library itself system wide.



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


[jira] [Commented] (PROTON-895) Rely on python to build the downloaded tarball

2015-05-29 Thread Ken Giusti (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14564887#comment-14564887
 ] 

Ken Giusti commented on PROTON-895:
---

Link to reviewboard post:

https://reviews.apache.org/r/34809/


 Rely on python to build the downloaded tarball
 --

 Key: PROTON-895
 URL: https://issues.apache.org/jira/browse/PROTON-895
 Project: Qpid Proton
  Issue Type: Bug
Reporter: Flavio Percoco
Assignee: Ken Giusti
 Attachments: 0001-Rely-on-python-to-build-downloaded-tarball.patch


 Recently, a patch that made python-qpid-proton's setup.py download proton-c 
 and build it whenever it's not found in the system. The patch relied on cmake 
 to build the library as everyone would do when building proton-c.
 While that works, it's not the right, most pythonic, reliable way to do it. 
 Some reasons why it's not a good thing:
 1. It might overwrite a system qpid install if there's one and if the 
 python-qpid-proton library is being installed in the system
 2. It requires users - including CI systems, etc - to have cmake installed.
 3. It does everything from outside the Python mechanism.
 The patch proposed in this bug changes the current behavior in favor of using 
 Python's build extensions to compile the library. The patch follows the same 
 steps as you'd do with cmake and it does it *just* for the downloaded 
 tarball. If there's an installed proton-c library, there's nothing to do. If 
 you're building it using cmake from a proton-c dir, it'll keep using cmake 
 normally.
 The built library doesn't have the same name as the global one and it's 
 installed along with the python binding instead of installing header files 
 and the library itself system wide.



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