Mercurial > p > mysql-python > mysqldb-2
comparison setup.py @ 24:2f4672764d39 MySQLdb
fix my own dumb 5-space indent
author | kylev |
---|---|
date | Fri, 06 Feb 2009 08:36:37 +0000 |
parents | 1c0ff5eb071b |
children | 7c7b7114864b |
comparison
equal
deleted
inserted
replaced
23:1c0ff5eb071b | 24:2f4672764d39 |
---|---|
4 import sys | 4 import sys |
5 import ez_setup; ez_setup.use_setuptools() | 5 import ez_setup; ez_setup.use_setuptools() |
6 from setuptools import setup, Extension | 6 from setuptools import setup, Extension |
7 | 7 |
8 if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000: | 8 if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000: |
9 raise Error("Python 2.3 or newer is required") | 9 raise Error("Python 2.3 or newer is required") |
10 | 10 |
11 if os.name == "posix": | 11 if os.name == "posix": |
12 from setup_posix import get_config | 12 from setup_posix import get_config |
13 else: # assume windows | 13 else: # assume windows |
14 from setup_windows import get_config | 14 from setup_windows import get_config |