By passing the --with-requirements flag, we try to retrieve requirement files (namely, dev-requirements.txt and requirements.txt) automatically from a pip installable archive or a local directory. While this might be nice for the user, it's not explicit and might confuse users. It is also not consistent what pip and wheel which require explicitly passing the relevant requirement files via multiple -r flags.
I suggest we remove that and allow users to pass multiple -r flags with explicit paths (local or URLs) to requirement files.
By passing the
--with-requirements
flag, we try to retrieve requirement files (namely,dev-requirements.txt
andrequirements.txt
) automatically from a pip installable archive or a local directory. While this might be nice for the user, it's not explicit and might confuse users. It is also not consistent whatpip
andwheel
which require explicitly passing the relevant requirement files via multiple-r
flags.I suggest we remove that and allow users to pass multiple
-r
flags with explicit paths (local or URLs) to requirement files.