Closed cdeil closed 7 years ago
It should have been installed with Sphinx (1.4.1). I guess it is possible to skip registering the build_sphinx command if Sphinx install is broken, but it may be simpler to fix your Sphinx install ?
Actually it is a dependency since 1.4 : https://github.com/sphinx-doc/sphinx/commit/fd674ef9f91216363b273f299bdfcd1fd3b65445
@saimn - Yes, I did install imagesize
and now it works for me.
My feature request here is: please make the Astropy setup.py more robust, so that package install is possible even in cases where Sphinx is broken. I think this might be possible by catching the error and just emitting a warning instead of aborting?
It's OK for me if the answer is "won't fix" and you close the issue ... I just thought I'd report it as a possible suggestion.
I agree with @cdeil that not having imagesize
installed shouldn't cause the astropy build to fail.
@cdeil - just so we're clear, though: if you don't even have sphinx installed everything is fine, right? The case here is only where sphinx 1.4 is installed but imagesize
is not?
if you don't even have sphinx installed everything is fine, right?
I'm pretty sure that the answer is yes, but I didn't try. (If that were broken tons of users would have complained.)
The case here is only where sphinx 1.4 is installed but imagesize is not?
Yes.
I have Sphinx 1.4 installed, but not it's dependency imagesize that they added in 1.4 (so yes, you could say I have a broken Sphinx install).
This prevents me from installing Astropy or any affiliated package!?
Can this be made more robust? A missing dependency for Sphinx shouldn't prevent Astropy installation, right?