~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Alexander Belchenko
  • Date: 2008-03-11 08:49:42 UTC
  • mto: This revision was merged to the branch mainline in revision 3268.
  • Revision ID: bialix@ukr.net-20080311084942-w1w0w3v0m20p2pbc
use sys.version_info

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import os
10
10
import sys
11
11
 
12
 
if sys.hexversion < 0x02040000:
 
12
if sys.version_info < (2, 4):
13
13
    sys.stderr.write("[ERROR] Not a supported Python version. Need 2.4+\n")
14
14
    sys.exit(1)
15
15