You'll use distribute, and like it, dagnabbit

This commit is contained in:
adustman
2012-09-07 19:14:50 +00:00
parent 33002cedff
commit a5fe12f857
5 changed files with 526 additions and 6 deletions

View File

@ -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