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"):
|
if option in ("makemessages", "compilemessages"):
|
||||||
# some commands don't require the presence of a game directory to work
|
# some commands don't require the presence of a game directory to work
|
||||||
need_gamedir = False
|
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,
|
# some django commands requires the database to exist,
|
||||||
# or evennia._init to have run before they work right.
|
# or evennia._init to have run before they work right.
|
||||||
check_db = True
|
check_db = True
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ pytz
|
||||||
djangorestframework >= 3.10.3, < 3.12
|
djangorestframework >= 3.10.3, < 3.12
|
||||||
django-filter >= 2.2.0, < 2.3
|
django-filter >= 2.2.0, < 2.3
|
||||||
django-sekizai
|
django-sekizai
|
||||||
|
django-extensions >= 3.1.0
|
||||||
inflect
|
inflect
|
||||||
autobahn >= 17.9.3
|
autobahn >= 17.9.3
|
||||||
lunr == 0.5.6
|
lunr == 0.5.6
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue