Remove warnings in setup.py and use setuptools instead of distutils

(but since it is not important, use distutils when setuptools is
unavailable)
This commit is contained in:
mathieui 2014-03-22 13:33:21 +01:00
parent bb00727e78
commit a8ba700e98

View file

@ -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',