Python libs on Debian/Raspbian

Hal Murray hmurray at megapathdsl.net
Tue Dec 19 03:12:58 UTC 2017


Gary said:
> PYTHONPATH, sys.path, or site.addsitedir(), the same options we keep dancing
> around. 

They generally add things to the search path.  I want to remove things.

I'm trying to avoid using the system or local libraries to make sure I'm 
testing the new libraries that I want to test.

Can I write a small wrapper that will patch sys.path and then call the code I 
want to run?
(I guess it would have to patch sys.args to get rid of itself.)

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list