forked from platformio/platformio-core
Skip custom LD_LIBRARY_PATH for PIO Plus
This commit is contained in:
@ -14,8 +14,7 @@
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
from os.path import dirname, join
|
||||
from platform import system
|
||||
from os.path import join
|
||||
|
||||
from platformio import exception, util
|
||||
from platformio.managers.package import PackageManager
|
||||
@ -57,8 +56,6 @@ def pioplus_call(args, **kwargs):
|
||||
pioplus_path = join(
|
||||
pm.get_package_dir(PACKAGE_DEPS['tool']['name'],
|
||||
PACKAGE_DEPS['tool']['requirements']), "pioplus")
|
||||
if system() == "Linux":
|
||||
os.environ['LD_LIBRARY_PATH'] = dirname(pioplus_path)
|
||||
os.environ['PYTHONEXEPATH'] = util.get_pythonexe_path()
|
||||
os.environ['PYTHONPYSITEDIR'] = pm.get_package_dir(
|
||||
PACKAGE_DEPS['pysite']['name'], PACKAGE_DEPS['pysite']['requirements'])
|
||||
|
Reference in New Issue
Block a user