Testing Python3

Gary E. Miller gem at rellim.com
Wed Mar 21 04:42:28 UTC 2018


Yo Hal!

On Tue, 20 Mar 2018 21:03:45 -0700
Hal Murray via devel <devel at ntpsec.org> wrote:

> From packaging/packaging.txt
> 
> > The shebang lines in our Python scripts point to
> > "python".  Part of our standard tests check that
> > you can change that to "python3" without breaking
> > anything.  
> 
> What sort of testing is that?  How do I run it on my setup?

Dunno what distro you run, on gentoo it is simple:

# python3 ntpmon

Or

# python3.4 ntpmon

Of course you need to have the PYTHONPATH set correctly and NTPsec
installed for that version.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180320/a7c68f75/attachment.bin>


More information about the devel mailing list