diff options
author | Stephen Finucane <stephen@that.guru> | 2017-10-01 13:33:40 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-10-02 15:16:10 +0100 |
commit | d736efbdabfe1b76297357a75eafdf7267c6c58d (patch) | |
tree | 2b60f8bb4d4b38abaacdf4312773e42882ef7d6b /sphinx/quickstart.py | |
parent | 1892fc18b92543e9334518b36bf62609933cc4d0 (diff) | |
download | sphinx-git-d736efbdabfe1b76297357a75eafdf7267c6c58d.tar.gz |
Stop handling package issues from 'sphinx-build'
There were a number of package error handlers run as part of the
'sphinx-build' command/executable:
- Unsupported Python version (it should be 2.7 or 3.4+)
- Missing packages (missing docutils, jinja2, and roman, which is part
of docutils, packages)
- Out-of-date packages (docutils)
This code is mostly unchanged since Sphinx was first released. Python,
and in particular Python's packaging options, have come a long way since
then. Today, all of the above checks are provided by setuptools and the
'setup.py' script, meaning we should never actually get to the point of
triggering any of these checks. This is further reinforced by the fact
that none of the other executables carry out these checks: either this
is a bug that no one has reported in ~8 years or, more likely, the
checks are useless and we don't need them anywhere.
In all, we can happily remove these checks, greatly simplify a piece of
code that's otherwise rarely touched, and trust that setuptools is up to
the job it's designed for.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'sphinx/quickstart.py')
0 files changed, 0 insertions, 0 deletions