Browse Source

setuptools compatibility fix

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

2
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,6 +36,7 @@ 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
if setuptools is None:
from distutils.command.install import install
try:
# python 3.x

Loading…
Cancel
Save