Skip to content

Commit

Permalink
Use exact same patch as ActiveState/appdirs#84
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Feb 21, 2017
1 parent 3742a14 commit 6cdd229
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -7,12 +7,11 @@ index ccd1e72..5d907aa 100644
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 = []

0 comments on commit 6cdd229

Please sign in to comment.