Commit Graph

11 Commits (0ecd50d848d53a8c8e5ada1b6fa6463abbed3f88)

Author SHA1 Message Date
Mikael Bourhis 0f0d22ab61 Python wrapper: update and improve CMakeLists
Tested and compatible with:

Ubuntu 20.04.6 LTS : Python 3.8.10;  CMake 3.16.3; Swig 4.0.1
Debian 11          : Python 3.9.2;   CMake 3.13.4; Swig 4.0.2
Ubuntu 22.04.3 LTS : Python 3.10.12; CMake 3.22.1; Swig 4.0.2
Ubuntu 23.10       : Python 3.11.6;  CMake 3.27.4; Swig 4.1.0
Alpine 3.18.4      : Python 3.11.6;  CMake 3.26.5; Swig 4.1.1

Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
2 years ago
Mikael Bourhis 178312aa13 Python wrapper: update CMakeLists, and rename the module to 'pyiec61850'
* update the CMakeLists
  - remove the deprecated commands ('PythonInterp', ...)
   (https://cmake.org/cmake/help/latest/module/FindPythonInterp.html)

  - change the CMake minimum version from 3.8 to 3.12 (released in July 2018)

* rename the libiec61850 Python module into 'pyiec61850'
  - to avoid name conflict with the name for the C static lib
  - the build artifacts are now 'pyiec61850.py' and '_pyiec61850.so'

Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
2 years ago
Albert ARIBAUD 92c3d3adb8 Fixed Python 3 bindings support
1. Allow specifying Python interpreter version with BUILD_PYTHON_VERSION

2. Fix Python modules install path generation (would produce spurious
   line feed which would cause destination directory to be
   /usr/lib/python*/dist-packages\n -- note the final \n!
7 years ago
Michael Zillgith 9eb8b17002 - python wrapper: some changes in cmake file 7 years ago
Michael Zillgith a5e15003ce - correcting verions detection for swig (phyton)
- client: adopted TLS code to new async architecture
7 years ago
Steffen Vogel dffe219303 fix version incompatability in Swig 8 years ago
Steffen Vogel 064bfa902e mostly cosmetical cleanup of CMakeLists 8 years ago
Cedric Boudinet 8432ea8a13 Forcing pythonInterp version to be the same that pythonLibs version 9 years ago
Michael Zillgith 9dc1a36568 - renamed README to README.md and now using markdown syntax
- added pyiec61850 tutorial and example thanks to Cédric Boudinet
9 years ago
Michael Zillgith 412e0b8da8 - applied patches for pyiec61850 9 years ago
Michael Zillgith 1688fd872b - added python bindings 9 years ago