From a8ba700e9828e9974bd0c9ca8e5b0ef27423461c Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 22 Mar 2014 13:33:21 +0100 Subject: Remove warnings in setup.py and use setuptools instead of distutils (but since it is not important, use distutils when setuptools is unavailable) --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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', -- cgit v1.2.3