diff options
author | mathieui <mathieui@mathieui.net> | 2014-03-22 13:33:21 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-03-22 13:33:21 +0100 |
commit | a8ba700e9828e9974bd0c9ca8e5b0ef27423461c (patch) | |
tree | d0cda4d4cee44176013c66c1cb0ebdae352ac6a1 | |
parent | bb00727e786dacaf9a5010d0256dc42051cfa636 (diff) | |
download | poezio-a8ba700e9828e9974bd0c9ca8e5b0ef27423461c.tar.gz poezio-a8ba700e9828e9974bd0c9ca8e5b0ef27423461c.tar.bz2 poezio-a8ba700e9828e9974bd0c9ca8e5b0ef27423461c.tar.xz poezio-a8ba700e9828e9974bd0c9ca8e5b0ef27423461c.zip |
Remove warnings in setup.py and use setuptools instead of distutils
(but since it is not important, use distutils when setuptools is
unavailable)
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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', |