Browse Source

setuptools compatibility fix

pull/1510/head
sebres 8 years ago
parent
commit
2e530fcf72
  1. 4
      setup.py

4
setup.py

@ -27,6 +27,7 @@ import platform
try:
import setuptools
from setuptools import setup
from setuptools.command.install import install
except ImportError:
setuptools = None
from distutils.core import setup
@ -35,7 +36,8 @@ except ImportError:
from distutils.command.build_py import build_py
from distutils.command.build_scripts import build_scripts
from distutils.command.install_scripts import install_scripts
from distutils.command.install import install
if setuptools is None:
from distutils.command.install import install
try:
# python 3.x
from distutils.command.build_py import build_py_2to3

Loading…
Cancel
Save