contextlib2/setup.py
Aleksandr Sterkhov 977da10ab0 Dropped support for Python 2.6 as it reached EOL in 2013 and not supported by both tox and setuptools anymore
Enabled back Travis CI testing in pypy3 env, using stable python 3.7
Updated setup.py according to all the changes
Fixed several formatting issues to better comply with PEP8
2019-03-26 23:39:03 +01:00

30 lines
1 KiB
Python
Executable file

#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='contextlib2',
version=open('VERSION.txt').read().strip(),
py_modules=['contextlib2'],
license='PSF License',
description='Backports and enhancements for the contextlib module',
long_description=open('README.rst').read(),
author='Nick Coghlan',
author_email='ncoghlan@gmail.com',
url='http://contextlib2.readthedocs.org',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Python Software Foundation License',
# These are the Python versions tested, it may work on others
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)