Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python setup.py install doesn't work #25

Closed
vitorbaptista opened this issue Apr 9, 2014 · 0 comments
Closed

python setup.py install doesn't work #25

vitorbaptista opened this issue Apr 9, 2014 · 0 comments
Labels

Comments

@vitorbaptista
Copy link
Contributor

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.

To learn how it works (and what needs to be done), check https://docs.python.org/2/distutils/setupscript.html#installing-package-data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant