fixes #1766: the message "least Python 2.6 to run" is at best misleading.

This commit is contained in:
shimizukawa 2015-03-14 16:59:22 +09:00
parent ea25342acc
commit 4e599c13da
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Bugs fixed
* #1769: allows generating quickstart files/dirs for destination dir that
doesn't overwrite existent files/dirs. Thanks to WAKAYAMA shirou.
* #1773: sphinx-quickstart doesn't accept non-ASCII character as a option argument.
* #1766: the message "least Python 2.6 to run" is at best misleading.
Release 1.3 (released Mar 10, 2015)

View File

@ -55,7 +55,7 @@ def build_main(argv=sys.argv):
"""Sphinx build "main" command-line entry."""
if (sys.version_info[:3] < (2, 6, 0) or
(3, 0, 0) <= sys.version_info[:3] < (3, 3, 0)):
sys.stderr.write('Error: Sphinx requires at least Python 2.6 to run.\n')
sys.stderr.write('Error: Sphinx requires at least Python 2.6 or 3.3 to run.\n')
return 1
try:
from sphinx import cmdline