Closed Saifeddine75 closed 3 months ago
No, this seems correct; the first -
instructs pip-compile
to read from standard input, and the <
redirects the contents of requirements.in
to standard input, while per the second dash the results are being written to the standard output, which in turn is redirected to requirements.txt
(via the >
).
@Saifeddine75 -
is commonly used by applications as an alias for stdin
Oh okay thank you very much, was just getting error with this command in powershell but I guess it is not compatible with windows shells.
There is likely a typing error in readme file.
This seems like a typing error:
pip-compile - --output-file=- < requirements.in > requirements.txt
Im not sure but maybe It should be:
pip-compile --output-file= requirements.in > requirements.txt