I built a Django app and made a package out of it with setuptools
. Now, I would like to do the following things:
I would like to run all tests with
python setup.py test
. But when I issue this command, I get:/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'test'
I would like to use Tox to run my tests, but I have no idea what should I write in the
command
attribute to run my Django app tests.