From 68b1ca52d6685ddf106ef7ad01feac5e94ba77e5 Mon Sep 17 00:00:00 2001 From: Marcel Hellkamp Date: Wed, 13 Nov 2013 17:19:36 +0100 Subject: Added wheel support --- setup.cfg | 3 +++ setup.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 setup.cfg 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.") -- cgit v1.2.1