view roundup/version_check.py @ 5372:5e5f1dfb1596

Add python-sphinx. Looks like it's needed to build: xapian-bindings-1.3.7 but wasn't required before, or maybe was pulled in automatically bu the 1.2 debian package??
author John Rouillard <rouilj@ieee.org>
date Fri, 20 Jul 2018 20:51:20 -0400
parents 4566360871dc
children 64b05e24dbd8
line wrap: on
line source

#!/usr/bin/env python

# Roundup requires Python 2.7+ as mentioned in doc\installation.txt
VERSION_NEEDED = (2,7)

import sys
if sys.version_info < VERSION_NEEDED:
    print "Content-Type: text/plain\n"
    print "Roundup requires Python %s.%s or newer." % VERSION_NEEDED
    sys.exit(0)

Roundup Issue Tracker: http://roundup-tracker.org/