Skip to content

Commit 6de47ba

Browse files
committed
Make requirements compile disable pip's require-virtualenv flag always
Setting explicitly to 0 is required when it's done through the config file.
1 parent 35878fc commit 6de47ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements/compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if __name__ == "__main__":
1010
os.chdir(Path(__file__).parent)
1111
os.environ["CUSTOM_COMPILE_COMMAND"] = "requirements/compile.py"
12-
os.environ.pop("PIP_REQUIRE_VIRTUALENV", None)
12+
os.environ["PIP_REQUIRE_VIRTUALENV"] = "0"
1313
common_args = [
1414
"-m",
1515
"piptools",

0 commit comments

Comments
 (0)