Good morning!

Could you help me to get `pip freeze` and `pip list` to display only packages installed by pip and to exclude packages coming from a Debian package?

The only way I've found is

import pip
for dist in pip.get_installed_distributions():
    if dist.location.startswith('/usr/local/lib/python'):
        print dist.project_name

Could you patch upstream with this option?

https://github.com/nvie/pip-tools/issues/109#issuecomment-54085116
https://github.com/nvie/pip-tools/issues/96


Thank you!


Szépe Viktor
--
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, XX. kerület





--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140905123212.horde.pu2myyxcguzsei_0_nf3...@szepe.net

Reply via email to