vitchyr / viskit

rllab's viskit with some added features
73 stars 35 forks source link

Non python files not included in pip install #12

Closed carlbalmer closed 5 years ago

carlbalmer commented 5 years ago

When installing via pip install only the python files are copied to the install location (e.g. site-packages/viskit) this then results in an error when running wit python -m viskit.frontend ... jinja2.exceptions.TemplateNotFound: main.html

This could be solved using the package_data argument in setup.py https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files