diff options
-rw-r--r-- | setup.cfg | 3 | ||||
-rwxr-xr-x | setup.py | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..8951ea8 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[wheel] +universal = 1 + @@ -2,7 +2,10 @@ import sys import os -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup if sys.version_info < (2,5): raise NotImplementedError("Sorry, you need at least Python 2.5 or Python 3.x to use bottle.") |