commit | b028b25e269a2b6911436517724145056a5b2baf | [log] [tgz] |
---|---|---|
author | Steven Michalske <smichalske@gmail.com> | Thu Aug 06 22:29:23 2015 -0700 |
committer | Steven Michalske <smichalske@gmail.com> | Thu Aug 06 22:36:24 2015 -0700 |
tree | daab47b0792c541cc25a2d42ea7cb6ffd567c9d2 | |
parent | 2a9486ddb58fb7cc1864d094b1dd6fd6fc5f3739 [diff] [blame] |
Migrate to setuptools if installed. Provides more installer commands such as the ever helpful develop mode. Ignore build products.
diff --git a/setup.py b/setup.py index 50493f2..69331e7 100644 --- a/setup.py +++ b/setup.py
@@ -11,8 +11,10 @@ import sys -from distutils.core import setup - +try: + from setuptools import setup +except ImportError: + from distutils.core import setup # importing version does not work with Python 3 as files have not yet been # converted.