diff options
| author | Steve Piercy <web@stevepiercy.com> | 2015-11-10 03:05:33 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2015-11-10 03:05:33 -0800 |
| commit | c4c37a63c48bb86712da61984fc56258b9a64ff1 (patch) | |
| tree | b6253bee7150712f882db039b9a7dcc04e4605c5 /docs/quick_tour | |
| parent | bb38205e27165f1af19600a64eef702372cbb7a7 (diff) | |
| download | pyramid-c4c37a63c48bb86712da61984fc56258b9a64ff1.tar.gz pyramid-c4c37a63c48bb86712da61984fc56258b9a64ff1.tar.bz2 pyramid-c4c37a63c48bb86712da61984fc56258b9a64ff1.zip | |
- update files at project root
Diffstat (limited to 'docs/quick_tour')
| -rw-r--r-- | docs/quick_tour/sqla_demo/development.ini | 4 | ||||
| -rw-r--r-- | docs/quick_tour/sqla_demo/production.ini | 2 | ||||
| -rw-r--r-- | docs/quick_tour/sqla_demo/setup.py | 11 |
3 files changed, 10 insertions, 7 deletions
diff --git a/docs/quick_tour/sqla_demo/development.ini b/docs/quick_tour/sqla_demo/development.ini index 174468abf..0db0950a0 100644 --- a/docs/quick_tour/sqla_demo/development.ini +++ b/docs/quick_tour/sqla_demo/development.ini @@ -27,7 +27,7 @@ sqlalchemy.url = sqlite:///%(here)s/sqla_demo.sqlite [server:main] use = egg:waitress#main -host = 0.0.0.0 +host = 127.0.0.1 port = 6543 ### @@ -68,4 +68,4 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s +format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s diff --git a/docs/quick_tour/sqla_demo/production.ini b/docs/quick_tour/sqla_demo/production.ini index dc0ba304f..38f3b6318 100644 --- a/docs/quick_tour/sqla_demo/production.ini +++ b/docs/quick_tour/sqla_demo/production.ini @@ -59,4 +59,4 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s +format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s diff --git a/docs/quick_tour/sqla_demo/setup.py b/docs/quick_tour/sqla_demo/setup.py index ac2eed035..312a97c06 100644 --- a/docs/quick_tour/sqla_demo/setup.py +++ b/docs/quick_tour/sqla_demo/setup.py @@ -3,15 +3,18 @@ import os from setuptools import setup, find_packages 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() +with open(os.path.join(here, 'README.txt')) as f: + README = f.read() +with open(os.path.join(here, 'CHANGES.txt')) as f: + CHANGES = f.read() requires = [ 'pyramid', + 'pyramid_jinja2', + 'pyramid_debugtoolbar', + 'pyramid_tm', 'SQLAlchemy', 'transaction', - 'pyramid_tm', - 'pyramid_debugtoolbar', 'zope.sqlalchemy', 'waitress', ] |
