Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Commit 088874f

Browse files
authored
Merge pull request #1487 from tjguk/venv-log-stderr
Add logging and smooth out flow for virtual environment creation
2 parents bcb5853 + 01bbe30 commit 088874f

File tree

5 files changed

+296
-162
lines changed

5 files changed

+296
-162
lines changed

mu/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
)
4040
from PyQt5.QtWidgets import QApplication, QSplashScreen
4141

42-
4342
from . import i18n
4443
from .virtual_environment import venv, logger as vlogger
4544
from . import __version__
@@ -226,7 +225,7 @@ def setup_logging():
226225
log = logging.getLogger()
227226
log.setLevel(logging.DEBUG)
228227
log.addHandler(handler)
229-
# log.addHandler(stdout_handler)
228+
log.addHandler(stdout_handler)
230229
sys.excepthook = excepthook
231230

232231

mu/logic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,8 +1374,6 @@ def quit(self, *args, **kwargs):
13741374
"minify": self.minify,
13751375
"microbit_runtime": self.microbit_runtime,
13761376
"zoom_level": self._view.zoom_position,
1377-
"venv_name": venv.name,
1378-
"venv_python": venv.interpreter,
13791377
"window": {
13801378
"x": self._view.x(),
13811379
"y": self._view.y(),

0 commit comments

Comments
 (0)