aboutcode-org / aboutcode-org/scancode-toolkit

codescan do not install on M1 Macs and Windows WSL

Abierto
#2,470 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.