diff options
| author | Jason Madden <jamadden@gmail.com> | 2017-08-03 08:20:16 -0500 |
|---|---|---|
| committer | Jason Madden <jamadden@gmail.com> | 2017-08-03 08:31:34 -0500 |
| commit | 1427723cc0c68aae829bc5a53962840939570ee8 (patch) | |
| tree | 500ac46dcacd183f6d387e044f72f34bb52a93ea /setup.py | |
| parent | dc5f6fdd7675f9ab81ad583c4a3d5742a154e3de (diff) | |
| download | zope-contenttype-py36.tar.gz | |
Add Python 3.6, drop Python 3.3.py36
- Badges
- Add coverage environment and coveralls
- 100% coverage
- Some simplifications to help that, including using
print_function for simpler parity on Py2/Py3, and not rewriting
the _token_match function at runtime (presumably this was to
delay compiling a regex at import time, but other regexes are
already being compiled now at import time, so the hit is minor)
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -29,10 +29,14 @@ def read(*rnames): long_description = read('README.rst') + '\n' + read('CHANGES.rst') +TESTS_REQUIRE = [ + 'zope.testrunner', +] + setup( name='zope.contenttype', version='4.3.0.dev0', - url='http://pypi.python.org/pypi/zope.contenttype', + url='http://github.com/zopefoundation/zope.contenttype', author='Zope Foundation and Contributors', author_email='zope-dev@zope.org', license='ZPL 2.1', @@ -44,15 +48,15 @@ setup( 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Operating System :: OS Independent', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development', - ], + ], description='Zope contenttype', long_description=long_description, packages=find_packages('src'), @@ -60,6 +64,10 @@ setup( namespace_packages=['zope',], install_requires=['setuptools'], test_suite='zope.contenttype', + tests_require=TESTS_REQUIRE, + extras_require={ + 'test': TESTS_REQUIRE, + }, include_package_data=True, zip_safe=False, - ) +) |
