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
@@ -18,16 +18,11 @@
                     'guizero>=0.5.2', 'Pillow>=5.2.0',
                     'requests>=2.19.1', 'semver>=2.0.1', 'nudatus>=0.0.3', ]
 
-# 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(
