view roundup/version_check.py @ 5018:7cfd30cc8cfa

website: Reword code section, explain are why using SF and Mercurial to host our sources and link to unnoficial GitHub mirror
author anatoly techtonik <techtonik@gmail.com>
date Fri, 08 Jan 2016 18:04:32 +0300
parents 0c2cad65ebba
children 4566360871dc
line wrap: on
line source

#!/usr/bin/env python

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

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/