contextlib2/setup.py
Marc Abramowitz 90cf9323d4 Add support for tox (http://tox.testrun.org/)
```
$ tox
...
  py26: commands succeeded
  py27: commands succeeded
  pypy: commands succeeded
  py32: commands succeeded
  py33: commands succeeded
  py34: commands succeeded
  py35: commands succeeded
  pypy3: commands succeeded
  congratulations :)
```
2015-09-14 08:34:55 -07:00

18 lines
622 B
Python
Executable file

#!/usr/bin/env python
from distutils.core import setup
# Technically, unittest2 is a dependency to run the tests on 2.6 and 3.1
# This file ignores that, since I don't want to depend on distribute
# or setuptools just to get "tests_require" support
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.txt').read(),
author='Nick Coghlan',
author_email='ncoghlan@gmail.com',
url='http://contextlib2.readthedocs.org'
)