Use setuptools if available.
This commit is contained in:
parent
888e286a09
commit
2f29d18e53
5
setup.py
5
setup.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user