[Asterisk-code-review] Build System: Enable python3 compatibility. (asterisk[13])

Alexander Traud asteriskteam at digium.com
Sat Mar 31 02:10:35 CDT 2018


Alexander Traud has posted comments on this change. ( https://gerrit.asterisk.org/8646 )

Change subject: Build System: Enable python3 compatibility.
......................................................................


Patch Set 2:

> … then configure.ac will be able to detect
> /usr/bin/python only and everything will work even if it's python3.

Again, just for your information and to avoid possible misunderstandings: Some platforms do not have 'python' but only 'pythonX.Y'. Some of those platforms, have 'pythonX' additionally. Although it is welcome that you update the scrips to Python 3, changes to the file configure.ac are rather independent/orthogonal to this change here. When done, the script ./configure is going to detect python3 *additionally*.

Actually, even after the changes here the binding to PJProject PJSUA remains Python 2 for now. Consequently, until that is done, the script ./configure is going to look for python, python3, python3.6, python3.5, python3.4, and python2.7 when it comes to the tool (see <https://bugs.python.org/issue25296#msg252087>). The script ./configure remains 'python-2.7' when it comes to pkg-config.

Complete Python 3 compatibility is something which is going to take time. Anyway, your starting point and everything already made compatible is more than welcome!


-- 
To view, visit https://gerrit.asterisk.org/8646
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: If5c5b556a2800d41a3e2cfef080ac2e151178c33
Gerrit-Change-Number: 8646
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Comment-Date: Sat, 31 Mar 2018 07:10:35 +0000
Gerrit-HasComments: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180331/f7436c14/attachment.html>


More information about the asterisk-code-review mailing list