Fixing issue13: setup.py does not fallback to using distutils.core import setup

Added falling back to distutils.core
    Tested install on a machine with and without setuptools
This commit is contained in:
Allan Haywood 2017-04-24 12:53:34 -07:00
parent d533028739
commit 44966d33d3

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
from setuptools import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='contextlib2',