aboutcode-org / aboutcode-org/scancode-toolkit

codescan do not install on M1 Macs and Windows WSL

Đang mở
#2,470 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

My team wants to work and contribute to scancode, and members of our teams have M1 Macs, or work on Windows WSL/WSL2.

scancode currently does not install with those setups, because it insists on installing binaries from wheels that are not compatibles with those systems.

I have worked today on this issue for the m1 and came up with a few PRs to fix this state

https://github.com/nexB/extractcode/pull/18
https://github.com/inveniosoftware/intbitset/pull/75
https://github.com/nexB/typecode/pull/17

With those three PRs applied in a virtualenv, I can install scancode, provided that I comment the following lines in scancode's setup.cfg

extractcode[full] >= 21.2.24
typecode[full] >= 21.2.24

Shall we create a [full] extra-requires on scancode as well, so that we can have a lightweight install of scancode possible?

What is your recommendation?

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

Mở hướng dẫn đóng góp

Đá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.