Merge pull request #3293 from stevepiercy/1.9-branch
backport for #3182
| | |
| | | |
| | | .. literalinclude:: authentication/setup.py |
| | | :language: python |
| | | :emphasize-lines: 7 |
| | | :emphasize-lines: 4 |
| | | :linenos: |
| | | |
| | | #. We can now install our project in development mode: |
| | |
| | | |
| | | #. Click the "Log In" link. |
| | | |
| | | #. Submit the login form with the username ``editor`` and the password |
| | | #. Submit the login form with the username ``editor`` and the password |
| | | ``editor``. |
| | | |
| | | #. Note that the "Log In" link has changed to "Logout". |
| | |
| | | from setuptools import setup |
| | | |
| | | requires = [ |
| | | 'bcrypt', |
| | | 'pyramid', |
| | | 'waitress', |
| | | 'pyramid_chameleon', |
| | | 'bcrypt' |
| | | 'waitress', |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | from setuptools import setup |
| | | |
| | | requires = [ |
| | | 'bcrypt', |
| | | 'pyramid', |
| | | 'waitress', |
| | | 'pyramid_chameleon', |
| | | 'bcrypt' |
| | | 'waitress', |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_jinja2', |
| | | 'pyramid_debugtoolbar', |
| | | 'pyramid_jinja2', |
| | | 'waitress', |
| | | ] |
| | | |
| | |
| | | from setuptools import setup |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'waitress', |
| | | 'pyramid_chameleon', |
| | | 'deform', |
| | | 'sqlalchemy', |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'pyramid_tm', |
| | | 'zope.sqlalchemy' |
| | | 'sqlalchemy', |
| | | 'waitress', |
| | | 'zope.sqlalchemy', |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [console_scripts] |
| | | initialize_tutorial_db = tutorial.initialize_db:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | pulls in Colander as a dependency: |
| | | |
| | | .. literalinclude:: forms/setup.py |
| | | :emphasize-lines: 7 |
| | | :emphasize-lines: 4 |
| | | :linenos: |
| | | |
| | | #. We can now install our project in development mode: |
| | |
| | | from setuptools import setup |
| | | |
| | | requires = [ |
| | | 'deform', |
| | | 'pyramid', |
| | | 'waitress', |
| | | 'pyramid_chameleon', |
| | | 'deform' |
| | | 'waitress', |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | from setuptools import setup |
| | | |
| | | requires = [ |
| | | 'deform', |
| | | 'pyramid', |
| | | 'waitress', |
| | | 'pyramid_chameleon', |
| | | 'deform' |
| | | 'waitress', |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'waitress', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | |
| | | requires = [ |
| | | 'pyramid', |
| | | 'pyramid_chameleon', |
| | | 'waitress', |
| | | 'pyramid_chameleon' |
| | | ] |
| | | |
| | | setup(name='tutorial', |
| | |
| | | [paste.app_factory] |
| | | main = tutorial:main |
| | | """, |
| | | ) |
| | | ) |