added missing distutil imports

This commit is contained in:
Anthony Scopatz 2015-03-15 20:48:13 -05:00
parent a587a1719d
commit 217cde293a

View file

@ -6,11 +6,13 @@ import os
import sys import sys
try: try:
from setuptools import setup from setuptools import setup
from setuptools.command.install import install
from setuptools.command.sdist import sdist from setuptools.command.sdist import sdist
from setuptools.command.install import install
HAVE_SETUPTOOLS = True HAVE_SETUPTOOLS = True
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
from distutils.command.sdist import sdist as sdist
from distutils.command.install import install as install
HAVE_SETUPTOOLS = False HAVE_SETUPTOOLS = False
VERSION = '0.1.2' VERSION = '0.1.2'