Wheel uploaded to PyPI contains management command, that references non-existing TEST_DISCOVER_ROOT, so running ./manage.py test is not possible.
The source package does not have management command at all and everything works OK.
This is what I get when package is installed via wheel:
$ ./manage.py test
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
utility.execute()
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 77, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/discover_runner/management/commands/test.py", line 7, in <module>
class Command(TestCommand):
File "/home/paczkowski/.virtualenvs/itemizer/local/lib/python2.7/site-packages/discover_runner/management/commands/test.py", line 11, in Command
default=settings.TEST_DISCOVER_ROOT,
AttributeError: 'module' object has no attribute 'TEST_DISCOVER_ROOT'
Wheel uploaded to PyPI contains management command, that references non-existing
TEST_DISCOVER_ROOT
, so running./manage.py test
is not possible.The source package does not have management command at all and everything works OK.
This is what I get when package is installed via wheel: