From 1944eef0b8bdd4b686ff441e0210537381714a4b Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Wed, 18 Jan 2023 08:35:25 +0100 Subject: Config with pure python template (#18) * Drop support for Python 2.7, 3.5, 3.6. * Add support for Python 3.11. --- setup.py | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 7356c7f..e2f2be8 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,8 @@ """Setup for zope.browser package""" import os -from setuptools import setup, find_packages +from setuptools import find_packages +from setuptools import setup def read(*rnames): @@ -24,7 +25,7 @@ def read(*rnames): setup( name='zope.browser', - version='2.5.dev0', + version='3.0.dev0', author='Zope Foundation and Contributors', author_email='zope-dev@zope.org', description='Shared Zope Toolkit browser components', @@ -41,15 +42,12 @@ setup( 'Intended Audience :: Developers', 'License :: OSI Approved :: Zope Public License', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Natural Language :: English', @@ -61,14 +59,7 @@ setup( packages=find_packages('src'), package_dir={'': 'src'}, namespace_packages=['zope'], - python_requires=', '.join([ - '>=2.7', - '!=3.0.*', - '!=3.1.*', - '!=3.2.*', - '!=3.3.*', - '!=3.4.*', - ]), + python_requires='>=3.7', install_requires=[ 'setuptools', 'zope.interface', -- cgit v1.2.1