Description: Remove dependencies that may no be found at runtime
 Some distributions are not found by pkg_resources when load_entry_point is
 called at startup
Author: Nick Morrott <knowledgejunkie@gmail.com>
Forwarded: not-needed
Last-Update: 2019-01-16
---
--- a/setup.py
+++ b/setup.py
@@ -19,16 +19,11 @@
                     'pigpio', 'Pillow',
                     'requests', 'semver', 'nudatus', ]
 
-# Exclude packages not available for ARM in PyPI/piwheels (Raspberry Pi)
-try:
-    machine = platform.machine()
-    if machine.lower().startswith('arm'):
-        exclude = ('pyqt5', 'qscintilla', 'qtconsole', 'PyQtChart')
-        install_requires = [requirement for requirement in install_requires
-                            if not requirement.startswith(exclude)]
-except Exception:
-    # Something unexpected happened, so simply keep all requires
-    pass
+# Debian: exclude packages which may not be found at runtime due to their
+# packaging
+exclude = ('pyqt5', 'qscintilla', 'qtconsole', 'PyQtChart')
+install_requires = [requirement for requirement in install_requires
+                    if not requirement.startswith(exclude)]
 
 
 setup(
