view roundup/version_check.py @ 4764:d273e59b487b

roundup.demo: Use relative tracker home directory Introduced in commit a0654b1283a4 when it was not known that source demo.py is copied to roundup.demo during the build phase. demo.py migrated to roundup.demo in the previous commit.
author anatoly techtonik <techtonik@gmail.com>
date Thu, 21 Feb 2013 19:08:40 +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/