mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 11:09:56 +00:00
Use setuptools if available.
This commit is contained in:
parent
888e286a09
commit
2f29d18e53
1 changed files with 4 additions and 1 deletions
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 a new issue