Specifying extras when installing the project package
See original GitHub issueIt doesn’t look like this is possible but let me know if it is:
# noxfile.py
import nox
import nox_poetry.patch
from nox.sessions import Session
@nox.session
def tests(session: Session) -> None:
"""Run the test suite."""
session.install(".[extra]")
session.install("pytest")
session.run("pytest")
I think the logic would need to be handled to detect the leading .
and then take the eventual wheel path and add on the suffix [extra]
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Specify extras_require with pip install -e - Stack Overflow
I know that you can do pip install project[extra] when the project is on pypi. And you have to do pip install -e...
Read more >Help packaging optional application features, using extras?
Hey everyone! Excuse the long post. I've broken it up into sections to hopefully make it easier to jump between sections.
Read more >pip install extras requires and install requires, but not ... - GitHub
Projects I've worked on typically specify development requirements in a requirements file, not as an extra. However, I find it hard to argue ......
Read more >Reference for package extras - Apache Airflow
These providers extras are simply convenience extras to install provider packages so that you can install the providers with simple command - including...
Read more >Advanced Usage of Pipenv - Read the Docs
If you'd like to specify that a specific package only be installed on certain systems, you can use PEP 508 specifiers to accomplish...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @cjolowicz, working perfectly !
Thanks @cjolowicz !