holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

Added machinery to compile custom models #263

Closed philippjfr closed 5 years ago

philippjfr commented 5 years ago

Use new machinery in bokeh to ship precompiled bokeh models to avoid recompiling on every import.

@kcpevey The next time you pull after this PR has been merged make sure to run pip install -e or python setup.py develop in the earthsim root folder. This will compile the custom bokeh models speeding up future imports.

kcpevey commented 5 years ago

@philippjfr This explains why hv/gv and others require me to rerun python setup.py develop while some packages (Earthsim before now, I think) only required a git pull to update.

philippjfr commented 5 years ago

This explains why hv/gv and others require me to rerun python setup.py develop while some packages (Earthsim before now, I think) only required a git pull to update.

It does not, neither should require that since neither ship with custom models.

kcpevey commented 5 years ago

neither should require that since neither ship with custom models.

Hmmm. Strange. I'll have to pay closer attention to things to figure out what was happening. NBD.

philippjfr commented 5 years ago

Let us know if you figure it out.