-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (26 loc) · 940 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/python
import sys
from setuptools import setup
needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
pytest_runner = ['pytest_runner>=2.1'] if needs_pytest else []
setup(
name='sseclient',
version='0.0.12',
author='Brent Tubbs',
author_email='[email protected]',
py_modules=['sseclient'],
install_requires=['requests>=2.0.0', 'six'],
tests_require=['pytest', 'backports.unittest_mock'],
setup_requires=[] + pytest_runner,
description=(
'Python client library for reading Server Sent Event streams.'),
long_description=open('README.rst').read(),
url='https://bitbucket.org/btubbs/sseclient/',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
],
)