added banner to interpreter

This commit is contained in:
Jakub Trllo 2022-07-15 14:45:32 +02:00
parent 0111f4ae0f
commit b60acdd6d7

View file

@ -437,4 +437,9 @@ def interactive():
Executable 'openpype_gui' on windows won't work.
"""
code.interact()
from openpype.version import __version__
banner = "OpenPype {}\nPython {} on {}".format(
__version__, sys.version, sys.platform
)
code.interact(banner)