mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Add a vendoring session to noxfile.py
This commit is contained in:
parent
fc24a17899
commit
8db9f5bdb6
1 changed files with 10 additions and 0 deletions
10
noxfile.py
10
noxfile.py
|
@ -150,6 +150,16 @@ def lint(session):
|
|||
session.run("pre-commit", "run", *args)
|
||||
|
||||
|
||||
@nox.session
|
||||
def vendoring(session):
|
||||
# Required, otherwise we interpret --no-binary :all: as
|
||||
# "do not build wheels", which fails for PEP 517 requirements
|
||||
session.install("-U", "pip>=19.3.1")
|
||||
session.install("vendoring")
|
||||
|
||||
session.run("vendoring", "sync", ".", "-v")
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Release Commands
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue