-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish between PyPI and Debian python packages #2011
Labels
auto-locked
Outdated issues that have been locked by automation
Comments
szepeviktor
changed the title
distinguish between PyPI and Debian python pacakges
distinguish between PyPI and Debian python packages
Sep 1, 2014
It is not
Debian wheezy |
Will it work? import pip
for dist in pip.get_installed_distributions():
if dist.location.startswith('/usr/local/lib/python'):
print dist.project_name |
szepeviktor
changed the title
distinguish between PyPI and Debian python packages
Distinguish between PyPI and Debian python packages
Sep 1, 2014
Email to the Debian Python Modules Team |
I'm closing this in deference to #1646. |
Thank you! |
lock
bot
added
the
auto-locked
Outdated issues that have been locked by automation
label
Jun 5, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Good morning!
Could you help me to get
pip freeze
to display only packages installed by pip and to exclude packages coming from a Debian package?The only way I've found is
filename.startswith('/usr/local/lib/python')
Could you integrate it into a pip option?
jazzband/pip-tools#109 (comment)
jazzband/pip-tools#96
The text was updated successfully, but these errors were encountered: