We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b55c9 commit 08c2945Copy full SHA for 08c2945
setup.py
@@ -5,6 +5,7 @@
5
with open('VERSION', 'r') as v:
6
__version__ = v.read().rstrip()
7
8
+
9
class Tox(Command):
10
11
user_options = []
@@ -15,7 +16,8 @@ def initialize_options(self):
15
16
def finalize_options(self):
17
pass
18
- def run(self):
19
+ @classmethod
20
+ def run(cls):
21
import tox
22
sys.exit(tox.cmdline([]))
23
@@ -24,7 +26,7 @@ def run(self):
24
26
name="kafka-python",
25
27
version=__version__,
28
- tests_require=["tox", "mock"],
29
+ tests_require=["tox", "mock", "unittest2"],
30
cmdclass={"test": Tox},
31
32
packages=["kafka"],
0 commit comments