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
List all dependencies with pip freeze which have been installed into an arbitrary directory with pip install --target.
Describe the solution you'd like
pip freeze should have a --target option and take a path to an installation path to work out the installed dependencies in that directory. It should probably also honour the --local flag and skip globally installed packages if specified, just like with virtualenvs, or implicitly disable global site altogether.
I would like to install an application's dependencies into a target directory and then generate a requirements.txt based on the installed packages. At the moment I can only do this if I install the dependencies with --user, inside a virtualenv or by globally installing them.
As far as I know there is no alternative solution to resolve the transitive dependencies and generate a requirements.txt based on a target installation directory.
The text was updated successfully, but these errors were encountered: