diff options
author | Stany MARCEL <stanypub@gmail.com> | 2016-11-23 00:57:35 +0300 |
---|---|---|
committer | Stany MARCEL <stanypub@gmail.com> | 2016-11-23 01:00:55 +0300 |
commit | 3edb4a9a3fb7d775c499a76b1e32299282a9005d (patch) | |
tree | f259b09d1369ed5cf3309eb7fc398758b2368f29 | |
parent | 7ba1740349e706f3732c6cd85fb612cdf22f8977 (diff) |
Add distutils.core fallback
Signed-off-by: Stany MARCEL <stanypub@gmail.com>
-rwxr-xr-x | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,10 @@ #!/usr/bin/env python import sys -from setuptools import setup, Extension +try: + from setuptools import setup, Extension +except ImportError: + from distutils.core import setup, Extension uinput = Extension('libuinput', sources = ['src/uinput.c']) |