diff --git a/setup.py b/setup.py index 1812a24..02e9c0c 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,11 @@ import glob import codecs import re from distutils.command.build_ext import build_ext -from distutils.core import setup, Extension + +try: + from setuptools import setup, Extension +except ImportError: + from distutils.core import setup, Extension have_cython = True try: