setup.py declares unnecessary dependencies
For the Debian packaging I apply the following patch:
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-cython>=0.24
+#cython>=0.24
six>=1.10.0
numpy>=1.11.1
matplotlib>=1.5.1
@@ -6,11 +6,11 @@
Jinja2>=2.8
Pillow>=3.2.0
PyOpenGL>=3.1.0
-PyOpenGL-accelerate>=3.1.0
+#PyOpenGL-accelerate>=3.1.0
PyParsing>=2.1.1
scipy>=0.17.0
-sphinx>=1.4.1
-sphinx-rtd-theme>=0.1.9
+#sphinx>=1.4.1
+#sphinx-rtd-theme>=0.1.9
indexed_gzip>=0.3.1
git+ssh://git@git.fmrib.ox.ac.uk/paulmc/props.git#egg=props
git+ssh://git@git.fmrib.ox.ac.uk/paulmc/fslpy.git#egg=fslpy
setup.py uses the content of this file to declare runtime dependencies that are enforced (at runtime) in the setuptools-generated entrypoint scripts. Hence fsleyes won't start on a system that doesn have the sphinx theme, or cython, although neither of which seems actually required at runtime.