forked from abourget/gevent-socketio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (45 loc) · 1.55 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from setuptools import setup
from setuptools import find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
pytest.main(self.test_args)
setup(
name="gevent-socketio",
version="0.3.7.2",
description=(
"SocketIO server based on the Gevent pywsgi server, "
"a Python network library"),
author="Jeffrey Gelens",
author_email="[email protected]",
maintainer="Alexandre Bourget",
maintainer_email="[email protected]",
license="BSD",
url="https://github.com/abourget/gevent-socketio",
download_url="https://github.com/abourget/gevent-socketio",
install_requires=("gevent-websocket",),
setup_requires=('versiontools >= 1.7'),
cmdclass = {'test': PyTest},
tests_require=['pytest', 'mock'],
packages=find_packages(exclude=["examples", "tests"]),
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
],
entry_points="""
[paste.server_runner]
paster = socketio.server:serve_paste
""",
)