2011-12-15 11:13:03 +00:00
|
|
|
#!/usr/bin/env python
|
2017-04-24 19:53:34 +00:00
|
|
|
try:
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
except ImportError:
|
|
|
|
|
from distutils.core import setup
|
2012-05-01 10:42:19 +00:00
|
|
|
|
2011-12-13 12:41:17 +00:00
|
|
|
setup(
|
|
|
|
|
name='contextlib2',
|
2011-12-16 13:37:53 +00:00
|
|
|
version=open('VERSION.txt').read().strip(),
|
2021-06-26 05:38:48 +00:00
|
|
|
python_requires='>=3.6',
|
2021-06-26 10:43:11 +00:00
|
|
|
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',
|
2016-01-13 12:43:32 +00:00
|
|
|
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',
|
2021-06-26 10:43:11 +00:00
|
|
|
'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
|
2021-06-26 05:38:48 +00:00
|
|
|
# It definitely won't work on versions without native async support
|
2016-01-12 11:08:23 +00:00
|
|
|
'Programming Language :: Python :: 3',
|
2019-03-26 22:36:14 +00:00
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
|
'Programming Language :: Python :: 3.7',
|
2021-06-26 05:38:48 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
|
'Programming Language :: Python :: 3.10',
|
2016-01-12 11:08:23 +00:00
|
|
|
],
|
|
|
|
|
|
2016-05-02 06:54:31 +00:00
|
|
|
)
|