You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fromager/__main__.py
+34-21Lines changed: 34 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -65,30 +65,16 @@
65
65
type=clickext.ClickPath(),
66
66
help="save error messages to a file",
67
67
)
68
-
@click.option(
69
-
"-o",
70
-
"--sdists-repo",
71
-
default=pathlib.Path("sdists-repo"),
72
-
type=clickext.ClickPath(),
73
-
help="location to manage source distributions",
74
-
)
75
-
@click.option(
76
-
"-w",
77
-
"--wheels-repo",
78
-
default=pathlib.Path("wheels-repo"),
79
-
type=clickext.ClickPath(),
80
-
help="location to manage wheel repository",
81
-
)
82
68
@click.option(
83
69
"--build-wheel-server-url",
84
70
help="An optional URL for external web server for building wheels, to replace the built-in server. Must be configured to serve the path specified for --wheels-repo.",
85
71
)
86
72
@click.option(
87
-
"-t",
88
-
"--work-dir",
89
-
default=pathlib.Path("work-dir"),
73
+
"-d",
74
+
"--output-dir",
75
+
default=None,
90
76
type=clickext.ClickPath(),
91
-
help="location to manage working files, including builds and logs",
77
+
help="Location where sdists-repo, wheels-repo, and work-dir are created for logs, working files, source dists, and wheel repository",
92
78
)
93
79
@click.option(
94
80
"-p",
@@ -143,6 +129,31 @@
143
129
help="Build sdist and wheen with network isolation (unshare -cn)",
144
130
show_default=True,
145
131
)
132
+
# hidden in favor of -d, --output-dir
133
+
@click.option(
134
+
"-o",
135
+
"--sdists-repo",
136
+
type=clickext.ClickPath(),
137
+
default=pathlib.Path("sdists-repo"),
138
+
help="location to manage source distributions",
139
+
hidden=True,
140
+
)
141
+
@click.option(
142
+
"-w",
143
+
"--wheels-repo",
144
+
type=clickext.ClickPath(),
145
+
default=pathlib.Path("wheels-repo"),
146
+
help="location to manage wheel repository",
147
+
hidden=True,
148
+
)
149
+
@click.option(
150
+
"-t",
151
+
"--work-dir",
152
+
type=clickext.ClickPath(),
153
+
default=pathlib.Path("work-dir"),
154
+
help="location to manage working files, including builds and logs",
0 commit comments