h
This commit is contained in:
@@ -516,12 +516,12 @@ def find_requirements(root: Path) -> Optional[Path]:
|
||||
two-level walk to find a requirements.txt so installation works even if the file is
|
||||
not at the repository root.
|
||||
"""
|
||||
candidates = [
|
||||
root / "scripts" / "requirements.txt",
|
||||
root / "requirements.txt",
|
||||
root / "client" / "requirements.txt",
|
||||
root / "requirements" / "requirements.txt",
|
||||
]
|
||||
candidates = [
|
||||
root / "scripts" / "requirements.txt",
|
||||
root / "requirements.txt",
|
||||
root / "client" / "requirements.txt",
|
||||
root / "requirements" / "requirements.txt",
|
||||
]
|
||||
for c in candidates:
|
||||
if c.exists():
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user