aboutcode-org / aboutcode-org/scancode-toolkit

codescan do not install on M1 Macs and Windows WSL

Ouverte
#2,470 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.