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:
parent
bb00727e78
commit
a8ba700e98
1 changed files with 5 additions and 1 deletions
6
setup.py
6
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',
|
||||
|
|
Loading…
Reference in a new issue