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  [email protected]  skype: szepe.viktor
Budapest, XX. kerület





_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to