Use setuptools if available.

This commit is contained in:
Lance Stout 2011-11-08 07:01:16 -08:00
parent 888e286a09
commit 2f29d18e53

View file

@ -8,7 +8,10 @@
# file, which you should have received as part of this distribution. # file, which you should have received as part of this distribution.
import sys import sys
from distutils.core import setup, Command try:
from setuptools import setup, Command
except ImportError:
from distutils.core import setup, Command
# from ez_setup import use_setuptools # from ez_setup import use_setuptools
from testall import TestCommand from testall import TestCommand