Skip to content

Commit

Permalink
Followup to 7f85b89, where AstropyBuildSphinx is no longer defaulted …
Browse files Browse the repository at this point in the history
…to None if sphinx failed to import. This is more consistent with what we do with Cython.
  • Loading branch information
embray committed Nov 2, 2012
1 parent 7f85b89 commit bed8afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -83,7 +83,7 @@
else:
cmdclassd['build_ext'] = setup_helpers.wrap_build_ext()

if setup_helpers.AstropyBuildSphinx is not None:
if setup_helpers.HAVE_SPHINX:
cmdclassd['build_sphinx'] = setup_helpers.AstropyBuildSphinx

# Set our custom command class mapping in setup_helpers, so that
Expand Down

0 comments on commit bed8afe

Please sign in to comment.