summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-09 01:11:23 -0400
committerChris McDonough <chrism@plope.com>2011-08-09 01:11:23 -0400
commit5a87a84b528221f156d84ac1ab71c618ccb010c8 (patch)
tree6b6ac445c031b81bbdd497df8a72d0fb09cb6e65
parenteecbc58df6150df5225612c24fc1cf5e2b74938f (diff)
downloadpyramid-5a87a84b528221f156d84ac1ab71c618ccb010c8.tar.gz
pyramid-5a87a84b528221f156d84ac1ab71c618ccb010c8.tar.bz2
pyramid-5a87a84b528221f156d84ac1ab71c618ccb010c8.zip
fix all scaffolds to use the debugtoolbar in development mode and pyramid_tm
-rw-r--r--pyramid/scaffolds/alchemy/development.ini_tmpl8
-rw-r--r--pyramid/scaffolds/alchemy/production.ini_tmpl6
-rw-r--r--pyramid/scaffolds/alchemy/setup.py_tmpl3
-rw-r--r--pyramid/scaffolds/routesalchemy/development.ini_tmpl8
-rw-r--r--pyramid/scaffolds/routesalchemy/production.ini_tmpl6
-rw-r--r--pyramid/scaffolds/routesalchemy/setup.py_tmpl3
-rw-r--r--pyramid/scaffolds/starter/development.ini_tmpl2
-rw-r--r--pyramid/scaffolds/starter/setup.py_tmpl2
-rw-r--r--pyramid/scaffolds/zodb/development.ini_tmpl9
-rw-r--r--pyramid/scaffolds/zodb/production.ini_tmpl7
-rw-r--r--pyramid/scaffolds/zodb/setup.py_tmpl4
11 files changed, 17 insertions, 41 deletions
diff --git a/pyramid/scaffolds/alchemy/development.ini_tmpl b/pyramid/scaffolds/alchemy/development.ini_tmpl
index 06c29069d..4dc4c2461 100644
--- a/pyramid/scaffolds/alchemy/development.ini_tmpl
+++ b/pyramid/scaffolds/alchemy/development.ini_tmpl
@@ -7,19 +7,15 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = true
pyramid.default_locale_name = en
+pyramid.include = pyramid_debugtoolbar
+ pyramid_tm
sqlalchemy.url = sqlite:///%(here)s/{{project}}.db
[pipeline:main]
pipeline =
- egg:WebError#evalerror
- tm
{{project}}
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
[server:main]
use = egg:Paste#http
host = 0.0.0.0
diff --git a/pyramid/scaffolds/alchemy/production.ini_tmpl b/pyramid/scaffolds/alchemy/production.ini_tmpl
index 6025d9a14..dadf6c366 100644
--- a/pyramid/scaffolds/alchemy/production.ini_tmpl
+++ b/pyramid/scaffolds/alchemy/production.ini_tmpl
@@ -7,6 +7,7 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = false
pyramid.default_locale_name = en
+pyramid.includes = pyramid_tm
sqlalchemy.url = sqlite:///%(here)s/{{project}}.db
@@ -24,14 +25,9 @@ debug = false
;smtp_use_tls =
;error_message =
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
[pipeline:main]
pipeline =
weberror
- tm
{{project}}
[server:main]
diff --git a/pyramid/scaffolds/alchemy/setup.py_tmpl b/pyramid/scaffolds/alchemy/setup.py_tmpl
index 8e9da9755..183d8cc24 100644
--- a/pyramid/scaffolds/alchemy/setup.py_tmpl
+++ b/pyramid/scaffolds/alchemy/setup.py_tmpl
@@ -9,7 +9,8 @@ CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
- 'repoze.tm2>=1.0b1', # default_commit_veto
+ 'pyramid_tm',
+ 'pyramid_debugtoolbar',
'sqlalchemy',
'zope.sqlalchemy',
'WebError',
diff --git a/pyramid/scaffolds/routesalchemy/development.ini_tmpl b/pyramid/scaffolds/routesalchemy/development.ini_tmpl
index 06c29069d..4dc4c2461 100644
--- a/pyramid/scaffolds/routesalchemy/development.ini_tmpl
+++ b/pyramid/scaffolds/routesalchemy/development.ini_tmpl
@@ -7,19 +7,15 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = true
pyramid.default_locale_name = en
+pyramid.include = pyramid_debugtoolbar
+ pyramid_tm
sqlalchemy.url = sqlite:///%(here)s/{{project}}.db
[pipeline:main]
pipeline =
- egg:WebError#evalerror
- tm
{{project}}
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
[server:main]
use = egg:Paste#http
host = 0.0.0.0
diff --git a/pyramid/scaffolds/routesalchemy/production.ini_tmpl b/pyramid/scaffolds/routesalchemy/production.ini_tmpl
index 6025d9a14..9fd182ba3 100644
--- a/pyramid/scaffolds/routesalchemy/production.ini_tmpl
+++ b/pyramid/scaffolds/routesalchemy/production.ini_tmpl
@@ -7,6 +7,7 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = false
pyramid.default_locale_name = en
+pyramid.include = pyramid_tm
sqlalchemy.url = sqlite:///%(here)s/{{project}}.db
@@ -24,14 +25,9 @@ debug = false
;smtp_use_tls =
;error_message =
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
[pipeline:main]
pipeline =
weberror
- tm
{{project}}
[server:main]
diff --git a/pyramid/scaffolds/routesalchemy/setup.py_tmpl b/pyramid/scaffolds/routesalchemy/setup.py_tmpl
index 936a5dde0..cd5eacfb7 100644
--- a/pyramid/scaffolds/routesalchemy/setup.py_tmpl
+++ b/pyramid/scaffolds/routesalchemy/setup.py_tmpl
@@ -11,7 +11,8 @@ requires = [
'pyramid',
'SQLAlchemy',
'transaction',
- 'repoze.tm2>=1.0b1', # default_commit_veto
+ 'pyramid_tm',
+ 'pyramid_debugtoolbar',
'zope.sqlalchemy',
'WebError',
]
diff --git a/pyramid/scaffolds/starter/development.ini_tmpl b/pyramid/scaffolds/starter/development.ini_tmpl
index 1239dca3f..bbb448055 100644
--- a/pyramid/scaffolds/starter/development.ini_tmpl
+++ b/pyramid/scaffolds/starter/development.ini_tmpl
@@ -7,10 +7,10 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = true
pyramid.default_locale_name = en
+pyramid.include = pyramid_debugtoolbar
[pipeline:main]
pipeline =
- egg:WebError#evalerror
{{project}}
[server:main]
diff --git a/pyramid/scaffolds/starter/setup.py_tmpl b/pyramid/scaffolds/starter/setup.py_tmpl
index bd2642627..84a20bd87 100644
--- a/pyramid/scaffolds/starter/setup.py_tmpl
+++ b/pyramid/scaffolds/starter/setup.py_tmpl
@@ -6,7 +6,7 @@ here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
-requires = ['pyramid', 'WebError']
+requires = ['pyramid', 'pyramid_debugtoolbar', 'WebError']
setup(name='{{project}}',
version='0.0',
diff --git a/pyramid/scaffolds/zodb/development.ini_tmpl b/pyramid/scaffolds/zodb/development.ini_tmpl
index 730300a82..d2d96bc05 100644
--- a/pyramid/scaffolds/zodb/development.ini_tmpl
+++ b/pyramid/scaffolds/zodb/development.ini_tmpl
@@ -7,21 +7,16 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = true
pyramid.default_locale_name = en
+pyramid.include = pyramid_debugtoolbar
+ pyramid_tm
zodb_uri = file://%(here)s/Data.fs?connection_cache_size=20000
[pipeline:main]
pipeline =
- egg:WebError#evalerror
egg:repoze.zodbconn#closer
- egg:repoze.retry#retry
- tm
{{project}}
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
[server:main]
use = egg:Paste#http
host = 0.0.0.0
diff --git a/pyramid/scaffolds/zodb/production.ini_tmpl b/pyramid/scaffolds/zodb/production.ini_tmpl
index 9fe8f4741..bb88c535d 100644
--- a/pyramid/scaffolds/zodb/production.ini_tmpl
+++ b/pyramid/scaffolds/zodb/production.ini_tmpl
@@ -7,6 +7,7 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = false
pyramid.default_locale_name = en
+pyramid.include = pyramid_tm
zodb_uri = file://%(here)s/Data.fs?connection_cache_size=20000
@@ -24,16 +25,10 @@ debug = false
;smtp_use_tls =
;error_message =
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
[pipeline:main]
pipeline =
weberror
egg:repoze.zodbconn#closer
- egg:repoze.retry#retry
- tm
{{project}}
[server:main]
diff --git a/pyramid/scaffolds/zodb/setup.py_tmpl b/pyramid/scaffolds/zodb/setup.py_tmpl
index 46759b514..87febd524 100644
--- a/pyramid/scaffolds/zodb/setup.py_tmpl
+++ b/pyramid/scaffolds/zodb/setup.py_tmpl
@@ -9,8 +9,8 @@ CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'repoze.zodbconn',
- 'repoze.tm2>=1.0b1', # default_commit_veto
- 'repoze.retry',
+ 'pyramid_tm',
+ 'pyramid_debugtoolbar',
'ZODB3',
'WebError',
]