Mercurial > p > mysql-python > mysqldb-2
comparison setup.py @ 33:7c7b7114864b MySQLdb
Merge back r555 for ez_setup usage
author | kylev |
---|---|
date | Wed, 11 Feb 2009 23:51:13 +0000 |
parents | 2f4672764d39 |
children | c9c2c8bf1b8c |
comparison
equal
deleted
inserted
replaced
32:4a5668deee4a | 33:7c7b7114864b |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 import os | 3 import os |
4 import sys | 4 import sys |
5 import ez_setup; ez_setup.use_setuptools() | |
6 from setuptools import setup, Extension | 5 from setuptools import setup, Extension |
7 | 6 |
8 if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000: | 7 if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000: |
9 raise Error("Python 2.3 or newer is required") | 8 raise Error("Python 2.3 or newer is required") |
10 | 9 |