diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-09 00:50:42 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-09 00:50:42 -0700 |
| commit | 9b0730733d29fd88b2358ad8ac08eb4761fc5e93 (patch) | |
| tree | 0862168d1f836421da094dbbd26502213c6d7539 | |
| parent | 9b61be1feebe26c4943232997ccbdecfb2272cc7 (diff) | |
| download | pyramid-9b0730733d29fd88b2358ad8ac08eb4761fc5e93.tar.gz pyramid-9b0730733d29fd88b2358ad8ac08eb4761fc5e93.tar.bz2 pyramid-9b0730733d29fd88b2358ad8ac08eb4761fc5e93.zip | |
update alchemy scaffold's setup.py to allow use of pip. See #2104.
| -rw-r--r-- | pyramid/scaffolds/alchemy/setup.py_tmpl | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/pyramid/scaffolds/alchemy/setup.py_tmpl b/pyramid/scaffolds/alchemy/setup.py_tmpl index d837ea0a9..9deed9e8a 100644 --- a/pyramid/scaffolds/alchemy/setup.py_tmpl +++ b/pyramid/scaffolds/alchemy/setup.py_tmpl @@ -19,20 +19,22 @@ requires = [ 'waitress', ] -tests_require = [ - 'WebTest', -] +testing_extras = [ + 'WebTest >= 1.3.1', # py3 compat + 'pytest', # includes virtualenv + 'pytest-cov', + ] setup(name='{{project}}', version='0.0', description='{{project}}', long_description=README + '\n\n' + CHANGES, classifiers=[ - "Programming Language :: Python", - "Framework :: Pyramid", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", - ], + "Programming Language :: Python", + "Framework :: Pyramid", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + ], author='', author_email='', url='', @@ -40,8 +42,9 @@ setup(name='{{project}}', packages=find_packages(), include_package_data=True, zip_safe=False, - test_suite='{{package}}', - tests_require=tests_require, + extras_require={ + 'testing': testing_extras, + }, install_requires=requires, entry_points="""\ [paste.app_factory] |
