Adds jupyter notebook support
Forces the installation of django_extensions. Simply adds the `shell_plus` command to be seen in main evennia binary when parsing arguments. A notebook can be started with the following `evennia shell_plus --notebook`
This commit is contained in:
parent
69d1e97c8e
commit
198a192595
2 changed files with 2 additions and 1 deletions
|
|
@ -2259,7 +2259,7 @@ def main():
|
|||
if option in ("makemessages", "compilemessages"):
|
||||
# some commands don't require the presence of a game directory to work
|
||||
need_gamedir = False
|
||||
if option in ("shell", "check", "makemigrations", "createsuperuser"):
|
||||
if option in ("shell", "check", "makemigrations", "createsuperuser", "shell_plus"):
|
||||
# some django commands requires the database to exist,
|
||||
# or evennia._init to have run before they work right.
|
||||
check_db = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue