mirror of
https://github.com/jazzband/contextlib2.git
synced 2026-03-16 21:50:24 +00:00
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:
parent
d533028739
commit
44966d33d3
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue