diff --git a/setup.py b/setup.py index 7fec5b92..0815e04e 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 -from distutils.core import setup, Extension +try: + from setuptools import setup, Extension +except ImportError: + from distutils.core import setup, Extension + import os, sys module_poopt = Extension('poezio.poopt',