Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output with missing could be nicer #331

pytoxbot opened this issue Sep 17, 2016 · 0 comments

Output with missing could be nicer #331

pytoxbot opened this issue Sep 17, 2016 · 0 comments


Copy link

@pytoxbot pytoxbot commented Sep 17, 2016

When there's no, we get:

$ tox 
Traceback (most recent call last):
  File "./.venv/bin/tox", line 11, in <module>
  File "/home/florian/tmp/.venv/lib/python3.4/site-packages/tox/", line 39, in main
    retcode = Session(config).runcommand()
  File "/home/florian/tmp/.venv/lib/python3.4/site-packages/tox/", line 375, in runcommand
    return self.subcommand_test()
  File "/home/florian/tmp/.venv/lib/python3.4/site-packages/tox/", line 520, in subcommand_test
    path = self.get_installpkg_path()
  File "/home/florian/tmp/.venv/lib/python3.4/site-packages/tox/", line 496, in get_installpkg_path
    path = self._makesdist()
  File "/home/florian/tmp/.venv/lib/python3.4/site-packages/tox/", line 390, in _makesdist
    raise tox.exception.MissingFile(setup)
tox.MissingFile: MissingFile: /home/florian/tmp/

instead the output could be nicer, like if the is broken:

$ tox                               
GLOB sdist-make: /home/florian/tmp/
ERROR: No dist directory found. Please check, e.g with:
     python sdist
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants