summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src/authentication/setup.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-02-14 17:47:48 -0600
committerMichael Merickel <michael@merickel.org>2016-02-14 17:47:48 -0600
commit00b2c691f88fcf42dfc81222aed939833f7f1f05 (patch)
treeae8970a9147d8b4be83c1e7cb9f5f71220a168a2 /docs/tutorials/wiki2/src/authentication/setup.py
parentda5ebc28c38ea32ad99389b5bc23e2f847af8047 (diff)
downloadpyramid-00b2c691f88fcf42dfc81222aed939833f7f1f05.tar.gz
pyramid-00b2c691f88fcf42dfc81222aed939833f7f1f05.tar.bz2
pyramid-00b2c691f88fcf42dfc81222aed939833f7f1f05.zip
implement the authentication example code
Diffstat (limited to 'docs/tutorials/wiki2/src/authentication/setup.py')
-rw-r--r--docs/tutorials/wiki2/src/authentication/setup.py49
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/src/authentication/setup.py b/docs/tutorials/wiki2/src/authentication/setup.py
new file mode 100644
index 000000000..c342c1aba
--- /dev/null
+++ b/docs/tutorials/wiki2/src/authentication/setup.py
@@ -0,0 +1,49 @@
+import os
+
+from setuptools import setup, find_packages
+
+here = os.path.abspath(os.path.dirname(__file__))
+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 = [
+ 'bcrypt',
+ 'docutils',
+ 'pyramid',
+ 'pyramid_jinja2',
+ 'pyramid_debugtoolbar',
+ 'pyramid_tm',
+ 'SQLAlchemy',
+ 'transaction',
+ 'zope.sqlalchemy',
+ 'waitress',
+ ]
+
+setup(name='tutorial',
+ version='0.0',
+ description='tutorial',
+ long_description=README + '\n\n' + CHANGES,
+ classifiers=[
+ "Programming Language :: Python",
+ "Framework :: Pyramid",
+ "Topic :: Internet :: WWW/HTTP",
+ "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
+ ],
+ author='',
+ author_email='',
+ url='',
+ keywords='web wsgi bfg pylons pyramid',
+ packages=find_packages(),
+ include_package_data=True,
+ zip_safe=False,
+ test_suite='tutorial',
+ install_requires=requires,
+ entry_points="""\
+ [paste.app_factory]
+ main = tutorial:main
+ [console_scripts]
+ initialize_tutorial_db = tutorial.scripts.initializedb:main
+ """,
+ )