Pip freeze for packages installed with --target
pip, python, python-2.7, virtualenv
Solution
Bit late to the party, but I ran in to the same issue and this seemed to solve it.
pip freeze --path ./pip-libs > requirements.txt
Problem
I would like to use for a small Python project this way of managing dependent modules: http://blog.zoomeranalytics.com/pip-install-t/ In brief, I would do: `cd myproject` `pip install --target ./pip-libs --upgrade -r requirements.txt` then add ./pip-libs to PYTHONPATH and run my script. This seems but I like to use use pip freeze and it does not allow me to do anything like `pip freeze --target pip-libs` to see packages installed in the folder. Of course, I can take a look inside but what is a standard way to show packages installed in a folder with --target? The only way I can think of is doing `ls` of pip-libs and then playing with grep, awk... Does not seem right. I am not sure if there is a way, maybe it's not a good idea or I should request such functionality for pip. Python 2.7.9.