1
1
Fork 0
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:
Paul Moore 2020-04-13 12:32:28 +01:00
parent fc24a17899
commit 8db9f5bdb6

View file

@ -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
# -----------------------------------------------------------------------------