Skip to content

Commit

Permalink
Add environment variable at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Jun 24, 2024
1 parent 39ad04f commit f64bfac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyviz_comms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def _jupyter_labextension_paths():
'dest': data['name']
}]

# Setting this so we can check the launched jupyter has pyviz_comms installed
os.environ['_PYVIZ_COMMS_INSTALLED'] = '1'

# Required only to monkeypatch get_ipython in the test suite
try:
get_ipython()
Expand Down

0 comments on commit f64bfac

Please sign in to comment.