You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted by @marks in #22 (comment), you'd get "TemplateNotFound" when trying to run ckanext-mapviews when installing it through python setup.py install. Everything works fine if you run python setup.py develop.
This is probably because we're missing package_data in our setup.py. We must add the templates (and maybe something more) to it, so python knows what to copy from the source when installing the extension.
As noted by @marks in #22 (comment), you'd get "TemplateNotFound" when trying to run ckanext-mapviews when installing it through
python setup.py install
. Everything works fine if you runpython setup.py develop
.This is probably because we're missing
package_data
in oursetup.py
. We must add the templates (and maybe something more) to it, so python knows what to copy from the source when installing the extension.To learn how it works (and what needs to be done), check https://docs.python.org/2/distutils/setupscript.html#installing-package-data.
The text was updated successfully, but these errors were encountered: