aboutcode-org / aboutcode-org/scancode-toolkit

codescan do not install on M1 Macs and Windows WSL

Offen
#2,470 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.