view roundup/version_check.py @ 5749:b8a0421525b8 maint-1.6

Fix issue2551029: Jinja2 template install error. Remove config.ini from templates to make sure that roundup-admin install writes a new default config.ini based on configuration.py. Did not transfer updates from trunk that enhanced the configuration of backend value and the rdbms section.
author John Rouillard <rouilj@ieee.org>
date Sat, 01 Jun 2019 09:09:59 -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/