Skip to content

Commit a25efcf

Browse files
authored
Disable pip version check (#152)
To reduce the spam written by pip.
1 parent 2e80398 commit a25efcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/lib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ def __init__(self, path: str):
273273
"""
274274
assert isinstance(path, Path)
275275
self._path = path
276+
os.environ["PIP_DISABLE_PIP_VERSION_CHECK"] = "1"
276277
self.ensure_requirement("setuptools", restart=True)
277278

278279
@property

0 commit comments

Comments
 (0)