]> Repositories - Adafruit_Blinka-hackapet.git/commit
Limit sysv_ipc to non-Windows installs
authorMatthew Wilkes <git@matthewwilkes.name>
Mon, 25 Mar 2019 19:53:20 +0000 (19:53 +0000)
committerMatthew Wilkes <git@matthewwilkes.name>
Mon, 25 Mar 2019 19:53:20 +0000 (19:53 +0000)
commit81790ff48cfc2a68f198997d71313384c661bb3d
tree8c5f6ec2ac1d5332f08370a18f8121966e40f9c4
parentcca1d6aa6518812ffacfcb484d6bf7951f4aa20f
Limit sysv_ipc to non-Windows installs

This dependency is compatible with "most (all?) Unixes", Windows support
is unofficial and only under Cygwin. Cygwin and WSL Python installs have
values of `platform.system()` other than Windows, therefore this prevents
installlation of `sysv_ipc` under standard Windows. This will cause `PulseIn`
to generate import errors on Windows, but as there is no Windows driver this
is likely not a problem. It will, however, allow for dependency resolution
and packaging to work on Windows.
setup.py