setup: use setuptools if available
This commit is contained in:
parent
9087f4187c
commit
6ba8c6c3fc
5
setup.py
5
setup.py
|
@ -1,7 +1,10 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from glob import glob as _glob
|
from glob import glob as _glob
|
||||||
from distutils.core import setup
|
try:
|
||||||
|
from setuptools import setup
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
autostart_path = '/etc/xdg/autostart'
|
autostart_path = '/etc/xdg/autostart'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue