Are you sure you are using dev mode? The configuration file in development mode is usually called development.ini, but the paster command you are using is referencing production.ini.
Tkanks herrmann, it’s the key point!
I’m working on a production env. So the question is what’s the right way to install an extension like geoview obtain by git command?
Is it:
sudo python setup.py install
Instead of:
sudo python setup.py develop
Or an other word: what’s the way to pass an exytension between dev and prod env? (which will be the case for owr for theming extension)
Sylvain
You shouldn’t need to use sudo. You create a Python virtual environment (python -m venv env), activate it (source env/bin/activate) and then use it to install everything.
I’m not sure what is the current best practice to develop and deploy CKAN extensions, as I haven’t done so in a long time. Please check out CKAN’s Extending Guide. If you still have questions, you might want to ask about it on CKAN’s Gitter channel or the ckan-dev mailing list too, if you don’t get a reply here.