Library package for multiple versions
Hi,
I'm a (one of) maintainer of a library package, name is "hamlib":
https://packages.debian.org/sid/libhamlib2
Hamlib is a library for several languages, eg. Python, Perl, Lua,
Tcl, and of course, C and C++. The main goal is collect the
different HAM radio CAT controll API's to one API - that's a
quasi de facto RIG CAT library. Here are the upstream codebase(s):
https://github.com/Hamlib/Hamlib
https://sourceforge.net/projects/hamlib/
The code had written in C. All binding ports for languages made
with SWIG.
https://github.com/Hamlib/Hamlib/blob/master/bindings/hamlib.swg
About a year ago, the main developer of project made a short doc,
where he describes, how can we make the hamlib module for both
Python2 and Python3.
https://github.com/Hamlib/Hamlib/blob/master/bindings/README.python
There are some problems:
* as he write, the user needs to recompile at twice the binding;
first for the Python 2, then need a "make clean", and then the
Python 3
* this is because the naming convention of Python .so's are
equal, eg. the final shared object will be _Hamlib.so
Now the Python module exists for Python2.
https://packages.debian.org/buster/python-libhamlib2
Could anybody help with some tips, how can I integrate the new,
Python3 module with the existing Python2?
Thanks,
Ervin
HA2OS
Reply to: