Refinement on the previous change: do not pass the Python
static library to the linker if we are in the mode where
we are using the Python shared library.
Change-Id: I05a19d0f69a492106d04e612f299ea32ceeae1ea
Add a project variable to indicate the path to the libpython*.la,
and use this variable to find this when building.
Copy the .la file to the installation destination,
and use the variable to make sure the project generated by gprinstall
finds it.
Change-Id: Ic145f14339091ecb3bf6f10af14916de9fa176d4
To avoid conflict with installed gnatcoll.gpr where GNATCOLL_BUILD means
library type.
Part of S709-037.
Change-Id: I5a0164505bee8e4a93409615e7a9d3b9a85c02f3
Like for gnatcoll_core, these externals allow gnatcoll_*.gpr to be used
from a project that defines the BUILD external in an incompatible way.
Part of S709-037.
Change-Id: I409695393fb40d301e280a3f5ac7018e9d7bc81b
Document that python3 removes PyInt functions.
Provide PyLong functions, available in all versions.
Add missing python3 PyInt_FromSize_t wrapper when python3 is in use.
Part of S821-014
Change-Id: I4f7cbe196be3b9f84f3d199f10f3740a844edf79
PyUnicode_FromString and _AsEncodedString are available as macros
since python2.6.
Part of S821-014
Change-Id: I89d35e530e146cc4251dbf877f37def003629dc8
Document that python3 removes PyFile_FromString,
but provide a wrapper if python3 is in use.
Part of S821-014
Change-Id: I2aeeef23be667810a39004d028f16c60889e9656
Py_Single_Input is limited to one statement and says:
SyntaxError: multiple statements found while compiling a single statement
This fixes a non-fatal error in gnat-gps.
Change-Id: Ic9a8ea4d668cd9e1e5d9cbc458cc8217ecb41d0a