Mercurial > p > roundup > code
view roundup/version_check.py @ 5840:b68d3d8531d5 maint-1.6 1.6.1
Changes to prepare for 1.6.1 release.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 10 Jul 2019 10:35:29 -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)
