summaryrefslogtreecommitdiff
path: root/docutils/setup.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-08-26 12:11:32 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-08-26 12:11:32 +0000
commitb7b360f03d05dbf0e7a69407db982f8d8772e724 (patch)
tree24045f0bddd87c3a528a2201ccbcf6f4adf620f0 /docutils/setup.py
parent44691d6bbdbafdec4f206564b45997ec54b57732 (diff)
downloaddocutils-b7b360f03d05dbf0e7a69407db982f8d8772e724.tar.gz
py3: Switch to print functions
Remove all uses of print as a statement. This includes comments, many of which are simply removed as noise (they're in version control and can be re-added later, if necessary). Signed-off-by: Stephen Finucane <stephen@that.guru> git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/setup.py')
-rwxr-xr-xdocutils/setup.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/docutils/setup.py b/docutils/setup.py
index b7c899516..77e151f6a 100755
--- a/docutils/setup.py
+++ b/docutils/setup.py
@@ -2,9 +2,12 @@
# $Id$
# Copyright: This file has been placed in the public domain.
+from __future__ import print_function
+
import sys
import os
import glob
+
try:
import setuptools
from distutils.core import setup, Command
@@ -17,10 +20,10 @@ try:
from distutils.util import convert_path
from distutils import log
except ImportError:
- print ('Error: The "distutils" standard module, which is required for the ')
- print ('installation of Docutils, could not be found. You may need to ')
- print ('install a package called "python-devel" (or similar) on your ')
- print ('system using your package manager.')
+ print('Error: The "distutils" standard module, which is required for the ')
+ print('installation of Docutils, could not be found. You may need to ')
+ print('install a package called "python-devel" (or similar) on your ')
+ print('system using your package manager.')
sys.exit(1)