Bootstrap distribute/tox with setuptools
Is there a better way to do this?
This commit is contained in:
4
setup.py
4
setup.py
@@ -1,7 +1,7 @@
|
|||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from distutils.core import setup, Command
|
from setuptools import setup, Command
|
||||||
|
|
||||||
|
|
||||||
class Tox(Command):
|
class Tox(Command):
|
||||||
@@ -21,7 +21,7 @@ setup(
|
|||||||
name="kafka-python",
|
name="kafka-python",
|
||||||
version="0.8.1-1",
|
version="0.8.1-1",
|
||||||
|
|
||||||
install_requires=["distribute"],
|
install_requires=["distribute", "tox"],
|
||||||
tests_require=["tox"],
|
tests_require=["tox"],
|
||||||
cmdclass={"test": Tox},
|
cmdclass={"test": Tox},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user