aboutcode-org / aboutcode-org/license-expression

`data` subfolder not part of package manifest?

Đang mở
#99 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
73
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.