summaryrefslogtreecommitdiff
path: root/docs/quick_tour/logging/setup.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-12-25 03:07:50 -0800
committerSteve Piercy <web@stevepiercy.com>2016-12-25 03:07:50 -0800
commitc87565c5ff1a3422e651f369fe4b2f848a9010ed (patch)
tree9410b245f2abea9f9aec8cc0cc8186dddccbd61a /docs/quick_tour/logging/setup.py
parent9483444d55f4dd9be8adc8c386b4af0d8af032a3 (diff)
downloadpyramid-c87565c5ff1a3422e651f369fe4b2f848a9010ed.tar.gz
pyramid-c87565c5ff1a3422e651f369fe4b2f848a9010ed.tar.bz2
pyramid-c87565c5ff1a3422e651f369fe4b2f848a9010ed.zip
quick_tour - "Logging" updates for cookiecutter
- fix line numbering - add new src files that were never included
Diffstat (limited to 'docs/quick_tour/logging/setup.py')
-rw-r--r--docs/quick_tour/logging/setup.py51
1 files changed, 51 insertions, 0 deletions
diff --git a/docs/quick_tour/logging/setup.py b/docs/quick_tour/logging/setup.py
new file mode 100644
index 000000000..e32aecacd
--- /dev/null
+++ b/docs/quick_tour/logging/setup.py
@@ -0,0 +1,51 @@
+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 = [
+ 'pyramid',
+ 'pyramid_jinja2',
+ 'pyramid_debugtoolbar',
+ 'waitress',
+]
+
+tests_require = [
+ 'WebTest >= 1.3.1', # py3 compat
+ 'pytest',
+ 'pytest-cov',
+]
+
+setup(
+ name='hello_world',
+ version='0.0',
+ description='hello_world',
+ 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 pyramid pylons',
+ packages=find_packages(),
+ include_package_data=True,
+ zip_safe=False,
+ extras_require={
+ 'testing': tests_require,
+ },
+ install_requires=requires,
+ entry_points={
+ 'paste.app_factory': [
+ 'main = hello_world:main',
+ ],
+ },
+)