[PATCH 1/4] python: Conditionally provide py3 argument to SWIG
justus at g10code.com
Tue Feb 14 13:04:48 CET 2017
Tobias Mueller <muelli at cryptobitch.de> writes:
> * lang/python/setup.py.in: Only call with -py3 when we run under python3
> or higher.
> If we ever remove the -builtin flag and leave the the -py3 flag, SWIG
> will generate Python code which will be incompatible with Python 2,
> because the py3 flag generates python3 code which is incompatible with
> So we conditionally generate SWIG bindings with -py3.
Indeed, and with -builtin gone, this actually caused a problem with our
build system. I fixed this by using one copy of the sources per Python
version, so that SWIG can inject its version-specific wrapper file
I merged this patch and the rest of the series. Many thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the Gnupg-devel