[pyramid] Rename paste app factory to pyramid_main
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 20 Mar 2017 11:16:11 +0100
changeset 12073 339b26bf17d2
parent 12072 9233dbde28d5
child 12074 f5fee548588d
child 12163 1fa3a3402c1e
[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.
cubicweb/pyramid/development.ini.tmpl
setup.py
--- 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={