Python Easy_Install 更新报告
有没有一种简单的方法来获取通过 easy_install 安装的所有具有更新版本的 Python 库的报告?我不想简单地在已知已安装库的列表上重新运行 easy_install,因为较新的库可能具有非向后兼容的更改。我想获得一个列表,以便快速查看更改的内容,并检查新版本以审查任何潜在冲突的更改。
Is there an easy way to get a report of all Python libraries installed via easy_install that have a more recent version available? I don't want to simply re-run easy_install on a list of known installed libraries, because the newer library might have a non-backwards compatible change. I'd like to get a list so I quickly see what's changed, and inspect new releases to vet-out any potentially conflicting changes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个快速脚本,用于扫描
easy-install.pth
文件并打印已安装软件包的较新版本列表。您可以将其自定义为仅显示可用的最新版本(采用parsed_version
的最大值),调整输出格式等:用法:
Here is a quick script to scan the
easy-install.pth
file and print a list of newer versions of installed packages. You could customize it to only show the newest version available (take max ofparsed_version
), tweak the output format, etc:Usage: