@b4n and me were wondering whether the generated header file will be different from Python2 to Python3 while releasing 1.38.

So I gave it a try:

apt-get update && apt-get install -y --no-install-recommends git doxygen intltool libtool libgtk-3-dev python3-lxml python3-docutils rst2pdf build-essential
git clone --depth=1 https://github.com/geany/geany /geany-test && cd /geany-test
PYTHON=python3 ./autogen.sh --enable-api-docs --enable-gtkdoc-header
make -C doc
cp doc/geany-gtkdoc.h /shared/geany-gtkdoc-py3.h
apt-get update && apt-get install -y --no-install-recommends git doxygen intltool libtool libgtk-3-dev python-lxml python-docutils rst2pdf build-essential
git clone --depth=1 https://github.com/geany/geany /geany-test && cd /geany-test
PYTHON=python2 ./autogen.sh --enable-api-docs --enable-gtkdoc-header
make -C doc
cp doc/geany-gtkdoc.h /shared/geany-gtkdoc-py2.h

The resulting files are identical. Yay.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.