From 3c6e0038bd59f43c53372ed639ce164ffd17bc29 Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Tue, 28 Mar 2017 10:45:53 +0900 Subject: [PATCH] oops --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: