diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-25 03:46:31 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-25 03:46:31 -0800 |
| commit | b488f7f72ff36526cf21798c91c7f09eaf1afa7a (patch) | |
| tree | 327e0970296e2eb85e415805b49241709e1ae1ad /docs/quick_tour/sqla_demo/setup.py | |
| parent | 64009ac01e4a8a8526289d600cb3c60ca50257ef (diff) | |
| download | pyramid-b488f7f72ff36526cf21798c91c7f09eaf1afa7a.tar.gz pyramid-b488f7f72ff36526cf21798c91c7f09eaf1afa7a.tar.bz2 pyramid-b488f7f72ff36526cf21798c91c7f09eaf1afa7a.zip | |
quick_tour - "Databases" updates for cookiecutter
- add src files
- adjust line numbers
Diffstat (limited to 'docs/quick_tour/sqla_demo/setup.py')
| -rw-r--r-- | docs/quick_tour/sqla_demo/setup.py | 63 |
1 files changed, 37 insertions, 26 deletions
diff --git a/docs/quick_tour/sqla_demo/setup.py b/docs/quick_tour/sqla_demo/setup.py index 312a97c06..75c1403fb 100644 --- a/docs/quick_tour/sqla_demo/setup.py +++ b/docs/quick_tour/sqla_demo/setup.py @@ -17,31 +17,42 @@ requires = [ 'transaction', 'zope.sqlalchemy', 'waitress', - ] +] -setup(name='sqla_demo', - version='0.0', - description='sqla_demo', - long_description=README + '\n\n' + CHANGES, - classifiers=[ - "Programming Language :: Python", - "Framework :: Pyramid", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", +tests_require = [ + 'WebTest >= 1.3.1', # py3 compat + 'pytest', + 'pytest-cov', +] + +setup( + name='sqla_demo', + version='0.0', + description='sqla_demo', + 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 = sqla_demo:main', + ], + 'console_scripts': [ + 'initialize_sqla_demo_db = sqla_demo.scripts.initializedb:main', ], - author='', - author_email='', - url='', - keywords='web wsgi bfg pylons pyramid', - packages=find_packages(), - include_package_data=True, - zip_safe=False, - test_suite='sqla_demo', - install_requires=requires, - entry_points="""\ - [paste.app_factory] - main = sqla_demo:main - [console_scripts] - initialize_sqla_demo_db = sqla_demo.scripts.initializedb:main - """, - ) + }, +) |
