Skip to content

Commit

Permalink
Merge pull request #84 from jmroot/optional-setuptools
Browse files Browse the repository at this point in the history
Allow installing without setuptools
  • Loading branch information
zoofood committed Feb 24, 2017
2 parents 0336c77 + b68a72e commit e708311
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -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 = []
Expand Down

0 comments on commit e708311

Please sign in to comment.