niloch / iplotter

JavaScript charting in ipython/jupyter notebooks -
http://niloch.github.io/iplotter/
MIT License
85 stars 10 forks source link

setup.py crashes unless you have jinja2 installed #6

Closed hottwaj closed 7 years ago

hottwaj commented 7 years ago

in setup.py, you import __version__ from iplotter/__init__.py

However, iplotter/__init__.py also imports all the submodules: c3_plotter, plotly_plotter etc. which have dependencies on other modules like jinja2

Therefore, on install via e.g. pip, setup.py crashes unless modules like jinja2 etc. are already installed in a previous run of pip