-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
54 lines (48 loc) · 1.73 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
50
51
52
53
54
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
from zeroless_helpers import version
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 pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
def readme():
with open('README.rst') as f:
return f.read()
setup(name='zeroless',
version=version(),
description='ZeroMQ for Pythonistas™',
long_description=readme(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: System :: Networking',
'Topic :: Communications',
'Topic :: Internet',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)'
],
keywords='pyzmq zeromq zmq ØMQ networking distributed socket client\
server p2p publish subscribe request reply push pull\
communication internet backend microservices',
url='https://github.com/zmqless/python-zeroless',
author='Lucas Lira Gomes',
author_email='[email protected]',
license='LGPLv2+',
packages=['zeroless', 'zeroless_helpers'],
install_requires=[
'pyzmq',
],
cmdclass = {'test': Pytest},
tests_require=['pytest'],
zip_safe=False)