Mercurial > p > roundup > code
view roundup/version_check.py @ 5635:ea35ab75a4c0 maint-1.6
website: bump copyright to 2019
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Thu, 07 Mar 2019 15:42:21 +0100 |
| 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)
