From 217cde293a1834462878988313c5b9bb824f9629 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Sun, 15 Mar 2015 20:48:13 -0500 Subject: [PATCH] added missing distutil imports --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cffb4f711..51089c25a 100755 --- a/setup.py +++ b/setup.py @@ -6,11 +6,13 @@ import os import sys try: from setuptools import setup - from setuptools.command.install import install from setuptools.command.sdist import sdist + from setuptools.command.install import install HAVE_SETUPTOOLS = True except ImportError: from distutils.core import setup + from distutils.command.sdist import sdist as sdist + from distutils.command.install import install as install HAVE_SETUPTOOLS = False VERSION = '0.1.2'