Skip to content

Commit 9c3e27b

Browse files
committed
pip: Specify requirements and pyproject are disjoint args
1 parent c4b0e7c commit 9c3e27b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pip/flatpak-pip-generator.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,15 @@
3232
parser.add_argument(
3333
"--cleanup", choices=["scripts", "all"], help="Select what to clean up after build"
3434
)
35-
parser.add_argument("--requirements-file", "-r", help="Specify requirements.txt file")
36-
parser.add_argument("--pyproject-file", help="Specify pyproject.toml file")
35+
parser.add_argument(
36+
"--requirements-file",
37+
"-r",
38+
help="Specify requirements.txt file. Cannot be used with pyproject file.",
39+
)
40+
parser.add_argument(
41+
"--pyproject-file",
42+
help="Specify pyproject.toml file. Cannot be used with requirements file.",
43+
)
3744
parser.add_argument(
3845
"--build-only",
3946
action="store_const",

0 commit comments

Comments
 (0)