diff --git a/setup.py b/setup.py index 965fc27..e1bea54 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ #!/usr/bin/env python import os -from setuptools import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: @@ -37,4 +40,4 @@ setup( 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development :: Libraries :: Python Modules', ], -) \ No newline at end of file +)