-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
55 lines (48 loc) · 1.54 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
55
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
super().finalize_options()
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
sys.exit(pytest.main(self.test_args))
def read(filename):
with open(filename) as f:
return f.read()
setup(
name='Henson-AMQP',
version='0.9.0',
author='Leonard Bedner, Christian Paul, and others',
author_email='[email protected]',
url='https://henson-amqp.readthedocs.io',
description='A library for interacting with AMQP with a Henson application.',
long_description=read('README.rst'),
license='Apache License, Version 2.0',
packages=find_packages(exclude=['tests']),
install_requires=[
'Henson>=1.0.0,<3.0.0',
'aioamqp>=0.5.1,<1.0.0',
],
tests_require=[
'pytest',
'pytest-asyncio',
],
cmdclass={
'test': PyTest,
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
)