PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 25th of February, 2019

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[14:13:49] <mablanch> Hello. I've got a Python package that declares extra targets (extras_require) that I can install from local sources with `pip install ".[docs,tests]"`. Is there a way to install these targets from a `git+https://` source? I'd like to do something like: `pip install `git+https://...@master#[docs,tests]`. Thanks.
[14:18:19] <xafer> `pip install "pkg[extras] @ git+ssh://git@github.com/user/pkg_repo.git"` should work
[14:19:04] <xafer> (and also work with git+https:// urls
[14:24:02] <mablanch> Awesome, thanks xafer!
[14:25:35] <xafer> cf https://www.python.org/dev/peps/pep-0508/ for more infos :)
[14:40:19] <mablanch> Oh nice! I searched the documentation but did not have a look at PEPs. Thanks for the link.