gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Fix SConstruct to work with Python 3


From: teyrana
Subject: Re: [gpsd-dev] [PATCH] Fix SConstruct to work with Python 3
Date: Mon, 12 Feb 2018 18:35:53 -0500


In Gentoo case #3 is handled by just building twice.  To oversimplify
it:  Once with python2 as default system python, and once with python3
as default system python.  That work for you?

Hhmmm, Could you elaborate a bit? Running `sudo scons udev-install` definitely didn't install the python3 package on any of my test systems. What command-line parameter do you pass to scons to install python3 packages? 

Are you saying to run 
$>  python2 scons install 
-- then -- 
$> python3 scons install

?

> Somewaht on-topic.  Python 3 is now 10 years old, and a great many folks
> STILL do not want to use it...

That's fine. I'm not trying to force them; the patch I sent in only affects systems with 'python3' already installed.  
1. no python3 => no python3 package
2. python3 packages do not affect python2 packages, afaik

Do I understand you correctly? 



On Mon, Feb 12, 2018 at 6:15 PM, Gary E. Miller <address@hidden> wrote:
Yo teyrana!

On Mon, 12 Feb 2018 18:08:46 -0500
teyrana <address@hidden> wrote:

> Perhaps we're all talking about different cases?
>
> 1. python2 only:
>      already implemented
> 2. python 3 only:
>    Robert Norris's patch, above
> 3. python2 and python3:
>    my problem.

In Gentoo case #3 is handled by just building twice.  To oversimplify
it:  Once with python2 as default system python, and once with python3
as default system python.  That work for you?

Somewaht on-topic.  Python 3 is now 10 years old, and a great many folks
STILL do not want to use it...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]