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

there should be a no_sdist_install option #11

Closed
pytoxbot opened this Issue Sep 17, 2016 · 8 comments

Comments

Projects
None yet
1 participant
@pytoxbot

pytoxbot commented Sep 17, 2016

there are various setups, where install of a sdist for testing may be unwanted, or something like a setup.py might not even exist

yet one would want to run something like py.test in there in different envs

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @hpk42

fix issue11: add a skip_install per-testenv setting which
prevents the installation of a package. Thanks Julian Krause.

→ <>

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @hpk42

Merged in juliankrause/tox (pull request #131)

Fix issue11: Add a skip_install option on a per-environment level.

→ <>

1 similar comment
@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @hpk42

Merged in juliankrause/tox (pull request #131)

Fix issue11: Add a skip_install option on a per-environment level.

→ <>

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @hpk42

Fix issue11: Add a skip_install option on a per-environment level.

→ <>

@pytoxbot pytoxbot closed this Sep 17, 2016

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @doismellburning

FYI my current "workaround" is to skipsdist=True in [tox], then use usedevelop in distinct testenvs. Then I manually test my sdist in its own testenv. Not ideal, but passable!

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @hpk42

I agree. I guess something like "do_install", defaulting to "True", would make sense. I'd be happy to review a PR implementing it.

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by lrowe

A per-env option would be helpful for running tools like flake8 which don't need to install your package and all their dependencies.

@pytoxbot

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by rhertzog

The option "skipsdist" already exists but it seems you can only set globally in [tox].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment