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

there should be a no_sdist_install option #11

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

there should be a no_sdist_install option #11

pytoxbot opened this issue Sep 17, 2016 · 8 comments

Comments

@pytoxbot
Copy link

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
Copy link
Author

Original comment by @hpk42

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

→ <>

@pytoxbot
Copy link
Author

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
Copy link
Author

Original comment by @hpk42

Merged in juliankrause/tox (pull request #131)

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

→ <>

@pytoxbot
Copy link
Author

Original comment by @hpk42

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

→ <>

@pytoxbot
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Original comment by rhertzog

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

@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant