| | |
wheel-inspect检查Python wheel文件和*.dist-info目录,并将有关其内容的各种信息输出为JSON可序列化的对象。 可以在Python代码中按以下方式调用:
from wheel_inspect import inspect_wheel
output = inspect_wheel(path_to_wheel_file)
或从命令行使用wheel2json命令。
安装
wheel-inspect需要Python 3.6或更高版本。 只需对Python 3使用 (您有pip,对吗?)来安装wheel-inspect及其依赖项:
python3 -m pip install wheel-inspect
例子
$ wheel2json wheel_inspect-1.0.0.dev1-py3-none-any.whl
{
"abi": [
评论0
最新资源