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
|
two-level walk to find a requirements.txt so installation works even if the file is
|
||||||
not at the repository root.
|
not at the repository root.
|
||||||
"""
|
"""
|
||||||
candidates = [
|
candidates = [
|
||||||
root / "scripts" / "requirements.txt",
|
root / "scripts" / "requirements.txt",
|
||||||
root / "requirements.txt",
|
root / "requirements.txt",
|
||||||
root / "client" / "requirements.txt",
|
root / "client" / "requirements.txt",
|
||||||
root / "requirements" / "requirements.txt",
|
root / "requirements" / "requirements.txt",
|
||||||
]
|
]
|
||||||
for c in candidates:
|
for c in candidates:
|
||||||
if c.exists():
|
if c.exists():
|
||||||
return c
|
return c
|
||||||
|
|||||||
Reference in New Issue
Block a user