Oh, dear, that's not quite what I meant.
gpsd itself builds fine; `scons && scons check && sudo scons udev-install` runs to completion, without errors.
And for context, it so using python 2.7.14, (Ubuntu 17.10).
However, if I want to use the client libraries from python3 code, I have to manually create and install the package.
As SCons finishes, we can see it install files to:
Install file: "gps/__init__.py" as "/usr/lib/python2.7/dist-packages/gps/__init__.py"
Install file: "gps/client.py" as "/usr/lib/python2.7/dist-packages/gps/client.py"
Install file: "gps/fake.py" as "/usr/lib/python2.7/dist-packages/gps/fake.py"
Install file: "gps/gps.py" as "/usr/lib/python2.7/dist-packages/gps/gps.py"
Install file: "gps/misc.py" as "/usr/lib/python2.7/dist-packages/gps/misc.py"
But I don't see it do anything for the equivalent python3 directories, e.g. "/usr/lib/python3.6/dist-packages/gps/...."
Unfortunately, the `build.txt` is silent on how to install the python package files for python3, regardless of what the system python is.
I'd like to discuss what the best long-term solution is to install the python3 client-libraries.
Cheers,
-Dan
Also:
13:54::%> python --version
Python 2.7.14
14:07::%> gpsd -V
gpsd: 3.18~dev (revision release-3.17-34-g598b8b9b)
p.s. The ported python 2/3 code *does* seem to run fine with python 3 applications. No complaint there.
p.p.p.s.
> > 2) install directly, like the python 2 variant.
> That should work fine already.
This statement implies that the SCons should *currently* install those files to both python2 and python3 dist-packages directories. *Without* further command line parameters.
Do I understand that right?