mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Clean up some whitespace, test python version the same (cleaner) way that trunk does
This commit is contained in:
@ -4,8 +4,8 @@ import os
|
||||
import sys
|
||||
from setuptools import setup, Extension
|
||||
|
||||
if sys.version_info < (2, 3):
|
||||
raise Error("Python-2.3 or newer is required")
|
||||
if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000:
|
||||
raise Error("Python 2.3 or newer is required")
|
||||
|
||||
if os.name == "posix":
|
||||
from setup_posix import get_config
|
||||
|
Reference in New Issue
Block a user