setup: use setuptools if available

This commit is contained in:
drupal-daffie 2019-12-24 13:16:35 +01:00 committed by Filipe Laíns
parent 9087f4187c
commit 6ba8c6c3fc
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
#!/usr/bin/env python
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'