ondryaso / pi-rc522

Raspberry Pi Python library for SPI RFID RC522 module
MIT License
411 stars 150 forks source link

spidev license is GPLv2, pi-rc522 is MIT, conflict ? #37

Open Viish opened 6 years ago

Viish commented 6 years ago

Hi,

Like I wrote in the title, your license is MIT (which is great !) but spidev is GPLv2. I ain't no expert in licenses but I think you can't license your code under MIT if you use a library that has a strong copyleft like the GPL.

Maybe a solution would be to switch to https://github.com/vsergeev/python-periphery for the SPI driver which is MIT licensed ?

Cheers,

LudwigKnuepfer commented 6 years ago

This code might have to be licensed under the LGPL anyways. Compare #41