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

Support extras_require dependencies #104

Open
p7g opened this issue Dec 7, 2020 · 0 comments
Open

Support extras_require dependencies #104

p7g opened this issue Dec 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@p7g
Copy link

p7g commented Dec 7, 2020

I'm using riot for a package that has a couple of "contrib" sub-packages that add some support for 3rd party libraries. To manage the peer dependencies for these, I'm using the extras_require dict in setup.py.

I have a Venv to run tests, but for those tests I need to have the extra requirements installed, I guess using something like this pip install -e .[feature1].

It would be cool if this was possible, maybe something like this:

venv = Venv(
	name="test"
	pys=3.8,
	extras=["feature1", "feature2"],
	pkgs={...},
)

In the meantime, I think I'll work around this by just adding the dependencies to the pkgs of the test Venv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants