mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
You'll use distribute, and like it, dagnabbit
This commit is contained in:
@ -2,10 +2,13 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from distribute_setup import use_setuptools
|
||||
use_setuptools()
|
||||
from setuptools import setup, Extension
|
||||
|
||||
if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000:
|
||||
raise Error("Python 2.3 or newer is required")
|
||||
if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000:
|
||||
raise Error("Python 2.4 or newer is required")
|
||||
|
||||
if os.name == "posix":
|
||||
from setup_posix import get_config
|
||||
|
Reference in New Issue
Block a user