view roundup/version_check.py @ 5328:ba1ce44254df

clarify supported python versions in two docs. Reported by Joseph Myers.
author John Rouillard <rouilj@ieee.org>
date Sat, 02 Jun 2018 19:30:34 -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/