summaryrefslogtreecommitdiff
path: root/utils/check-sphinx/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/check-sphinx/conf.py')
-rw-r--r--utils/check-sphinx/conf.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/check-sphinx/conf.py b/utils/check-sphinx/conf.py
new file mode 100644
index 0000000000..981a1c3464
--- /dev/null
+++ b/utils/check-sphinx/conf.py
@@ -0,0 +1,12 @@
+# Sphinx's configuration file
+#
+# This is used by $(TOP)/configure to check if the sphinx is for
+# python3 or later.
+#
+
+import sys
+
+if (sys.version_info >= (3, 0)):
+ pass
+else:
+ sys.exit(1)