contextlib2/setup.py

41 lines
1.6 KiB
Python
Raw Normal View History

#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
2012-05-01 10:42:19 +00:00
# Note: The minimum Python version requirement is set on the basis of
# "if it's not tested, it's broken".
# Specifically, if a Python version is no longer available for testing
# in CI, then the minimum supported Python version will be increased.
# That way there's no risk of a release that breaks older Python versions.
2011-12-13 12:41:17 +00:00
setup(
name='contextlib2',
version=open('VERSION.txt').read().strip(),
python_requires='>=3.7',
packages=['contextlib2'],
include_package_data=True,
2011-12-13 12:41:17 +00:00
license='PSF License',
description='Backports and enhancements for the contextlib module',
long_description=open('README.rst').read(),
2024-05-22 11:13:35 +00:00
author='Alyssa Coghlan',
2011-12-13 12:41:17 +00:00
author_email='ncoghlan@gmail.com',
2016-01-12 11:08:23 +00:00
url='http://contextlib2.readthedocs.org',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
2016-01-12 11:08:23 +00:00
'License :: OSI Approved :: Python Software Foundation License',
# These are the Python versions tested, it may work on others
# It definitely won't work on versions without native async support
2016-01-12 11:08:23 +00:00
'Programming Language :: Python :: 3',
'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 :: 3.12',
2016-01-12 11:08:23 +00:00
],
2016-05-02 06:54:31 +00:00
)