aboutcode-org / aboutcode-org/license-expression

`data` subfolder not part of package manifest?

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

描述

I am trying to make a standalone executable of my [Meta Package Manager](https://github.com/kdeldycke/meta-package-manager) project, which depends on [`cyclonedx-python-lib`](https://github.com/CycloneDX/cyclonedx-python-lib) for SBOM export, itself depending on `license-expression`.

For this I use [Nuitka](https://github.com/Nuitka/Nuitka) which worked well up until I introduced a dependency on `license-expression`.

Nuitka complains of missing `data/scancode-licensedb-index.json` file. I reported this issue upstream and proposed a fix so that Nuitka can automatically embed the missing file: https://github.com/Nuitka/Nuitka/pull/3033

That being said, Nuitka is generally capable of guessing which data file to include, if the Python module has been properly built and declared in package metadata. Which probably means the `data` subfolder has not been part of the manifest.

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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