8 Commits

Author SHA1 Message Date
Nicolas Roche
2c128911ec distutils has been removed in python 3.12. Replace calls to
distutils.sysconfig to direct sysconfig calls.

Issue: eng/toolchain/gnatcoll-bindings#4
2024-04-29 17:46:48 +02:00
Vincent Jicquel
ab62dd3c5d Revert "Merge branch 'mr/jicquel/#4.python-3.12' into 'master'"
This reverts merge request !8
2024-04-04 08:05:04 +00:00
Vincent Jicquel
0a097d9322 Update python scripts to the new python version 3.12
distutils has been removed in python 3.12. Replace calls to
distutils.sysconfig to direct sysconfig calls.

Issue: eng/toolchain/gnatcoll-bindings#4
2024-03-22 14:22:50 +00:00
Nicolas Roche
8b274e50e2 Ensure that copy of Python static library is successful.
Part of CS0038379
2024-02-02 12:01:59 +01:00
Nicolas Roche
6786f75d72 Apply black to setup.py 2024-02-02 11:50:11 +01:00
Nicolas Setton
1a230fb6c1 U515-001 gracefully handle the absence of a static python lib
Fix a Python error that occurred when the static lib was not
found.

Change-Id: I02096a913e03714a23bf25935cf056e332452dd5
2021-05-26 10:56:34 +01:00
Nicolas Setton
6e9769eb5a TB10-016 Make gnatcoll_python.gpr relocatable
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
2020-11-18 15:55:55 +00:00
Nicolas Roche
4981602c6d Split support for Python 3.x and Python 2.x
Part of S821-014

Change-Id: I17a26eb45043f7fe48b5b33db57425abe8cd9b78
2020-02-07 10:26:11 +01:00