[pyramid] Rename paste app factory to pyramid_main
Making it clearer that this would build a Pyramid application, just in case we
eventually provide other means to create a WSGI application than Pyramid.
--- a/cubicweb/pyramid/development.ini.tmpl Mon Mar 20 09:08:44 2017 +0100
+++ b/cubicweb/pyramid/development.ini.tmpl Mon Mar 20 11:16:11 2017 +0100
@@ -4,7 +4,7 @@
###
[app:main]
-use = egg:cubicweb#main
+use = egg:cubicweb#pyramid_main
pyramid.reload_templates = true
pyramid.debug_authorization = false
--- a/setup.py Mon Mar 20 09:08:44 2017 +0100
+++ b/setup.py Mon Mar 20 11:16:11 2017 +0100
@@ -206,7 +206,7 @@
],
entry_points={
'paste.app_factory': [
- 'main=cubicweb.pyramid:pyramid_app',
+ 'pyramid_main=cubicweb.pyramid:pyramid_app',
],
},
extras_require={