-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·44 lines (39 loc) · 1.3 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
from setuptools import setup
# Boilerplate for integrating with PyTest
from setuptools.command.test import test
import sys
class PyTest(test):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
test.initialize_options(self)
self.pytest_args = ''
def run_tests(self):
import shlex
import pytest
errno = pytest.main(shlex.split(self.pytest_args))
sys.exit(errno)
# The actual setup metadata
setup(
name='qabal',
version='0.0.4',
description='A fast and simple message broker with content-based routing.',
long_description=open("README.rst").read(),
keywords='broker routing content_based',
author='JJ Ben-Joseph',
author_email='[email protected]',
python_requires='>=3.6',
url='https://www.phrostbyte.com/',
license='Apache',
classifiers=[
'Topic :: Communications',
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent'
],
py_modules=['qabal'],
tests_require=['pytest'],
cmdclass = {'test': PyTest}
)