Sun, 17 Feb 2019 12:57:26 +0100
eric6, Startup: get rid of the __PYVENV_LAUNCHER__ environment variable because it get in the way.
Toolbox/Startup.py | file | annotate | diff | comparison | revisions | |
eric6.py | file | annotate | diff | comparison | revisions |
--- a/Toolbox/Startup.py Sat Feb 16 17:22:24 2019 +0100 +++ b/Toolbox/Startup.py Sun Feb 17 12:57:26 2019 +0100 @@ -224,6 +224,9 @@ """ global application + if "__PYVENV_LAUNCHER__" in os.environ: + del os.environ["__PYVENV_LAUNCHER__"] + handleArgs(argv, appinfo) if app is None: # set the library paths for plugins
--- a/eric6.py Sat Feb 16 17:22:24 2019 +0100 +++ b/eric6.py Sun Feb 17 12:57:26 2019 +0100 @@ -298,6 +298,9 @@ if not Globals.checkBlacklistedVersions(): sys.exit(100) + if "__PYVENV_LAUNCHER__" in os.environ: + del os.environ["__PYVENV_LAUNCHER__"] + from Toolbox import Startup # set the library paths for plugins Startup.setLibraryPaths()