Skip to content

build: Only install JS with Python with env var set#285

Merged
mofojed merged 6 commits intodeephaven:mainfrom
mofojed:281-python-packaging
Feb 16, 2024
Merged

build: Only install JS with Python with env var set#285
mofojed merged 6 commits intodeephaven:mainfrom
mofojed:281-python-packaging

Conversation

@mofojed
Copy link
Copy Markdown
Member

@mofojed mofojed commented Feb 15, 2024

  • Only register the JS if you have the environment variable DEEPHAVEN_ENABLE_PY_JS=True set

  • Cleaned up some of the JS in python packaging

    • Now puts JS at deephaven.plot.express.js, so it's contained in the deephaven express package instead of polluting the js namespace at the top level
  • Fixes Fix up how JS is packaged with Python #281

@mofojed mofojed requested a review from jnumainville February 15, 2024 13:30
@mofojed mofojed self-assigned this Feb 15, 2024
Comment thread plugins/plotly-express/src/deephaven/plot/express/_js.py Outdated
Comment thread plugins/plotly-express/src/deephaven/plot/express/_js.py Outdated
- Renamed _js.py to _js_plugin.py
@mofojed mofojed requested a review from jnumainville February 15, 2024 17:53
@mofojed mofojed merged commit 22662df into deephaven:main Feb 16, 2024
mofojed added a commit to mofojed/deephaven-plugins that referenced this pull request Feb 22, 2024
- Follow up to deephaven#285, need to enable the environment variable in the Dockerfile so that the docker container works with Deephaven express
mofojed added a commit that referenced this pull request Feb 22, 2024
- Follow up to #285, need to enable the environment variable in the
Dockerfile so that the docker container works with Deephaven express
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix up how JS is packaged with Python

2 participants