Don't export PIO Core Python's PATH

This commit is contained in:
Ivan Kravets
2017-12-13 22:15:37 +02:00
parent 2d0ac1a9c2
commit 5c4b5c2270

View File

@ -101,7 +101,6 @@ def pioplus_call(args, **kwargs):
pythonexe_path = util.get_pythonexe_path()
os.environ['PYTHONEXEPATH'] = pythonexe_path
os.environ['PYTHONPYSITEDIR'] = get_core_package_dir("pysite-pioplus")
os.environ['PYTHONPATH'] = (os.pathsep).join(sys.path)
os.environ['PATH'] = (os.pathsep).join(
[dirname(pythonexe_path), os.environ['PATH']])
util.copy_pythonpath_to_osenv()