Bootstrap distribute/tox with setuptools

Is there a better way to do this?
This commit is contained in:
David Arthur
2013-06-07 21:17:05 -04:00
parent 499038118b
commit dd109e2d6a

View File

@@ -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},