diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,7 +2,11 @@ import sys import os import os.path -from setuptools import setup +# appdirs is a dependency of setuptools, so allow installing without it. +try: + from setuptools import setup +except ImportError: + from distutils.core import setup import appdirs tests_require = [] |