Commit 130785df authored by Denis Bilenko's avatar Denis Bilenko

setup.py: use setuptools by default

parent 513640b6
......@@ -16,12 +16,13 @@ import os
import re
import traceback
import glob
from distutils.command import build_ext
if 'bdist_egg' in sys.argv:
from os.path import join, isdir, abspath, basename, exists, dirname
try:
from setuptools import Extension, setup
else:
except ImportError:
from distutils.core import Extension, setup
from os.path import join, isdir, abspath, basename, exists, dirname
from distutils.command import build_ext
__version__ = re.search("__version__\s*=\s*'(.*)'", open('gevent/__init__.py').read(), re.M).group(1)
assert __version__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment