summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg3
-rwxr-xr-xsetup.py5
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
+
diff --git a/setup.py b/setup.py
index ecbd491..cdf6b2e 100755
--- a/setup.py
+++ b/setup.py
@@ -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.")