aboutcode-org / aboutcode-org/python-inspector

Dotted Python version not fully supported

未關閉
#167 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
23
分支
28
PR 合併指標
30 天內沒有已合併 PR

描述

Although as of version [0.9.3](https://github.com/nexB/python-inspector/blob/main/CHANGELOG.rst#v093) "dotted" Python versions, like "2.7", should be supported in addition to "27", it seems that at least for analyzing `setup.py` it's not supported.

Running

python-inspector --setup-py setup.py --python-version 2.7 --operating-system linux --json-pdt -

on any `setup.py` file gives

Exception: Python version 2..7 is not compatible with setup.py

(Note the double-dot ".." in there), whereas using `--python-version 27` succeeds.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。