diff options
author | Guido Günther <agx@sigxcpu.org> | 2022-12-30 13:07:11 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2022-12-30 13:08:05 +0100 |
commit | ae172c0b2d9b8383704bf9e6ac1be50d8e64d166 (patch) | |
tree | 09915baff69e7c2cd0bfab2d01a4e5ae2f16d404 | |
parent | 6e26ab39a0ed6e22e7a058952a185beb71cd993c (diff) |
setup.py: Drop lsb check
Otherwise we would also skip the check for /etc/debian-release
which is more reliable these days.
-rw-r--r-- | setup.py | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -20,18 +20,12 @@ from setuptools import setup data_files = [] -try: - import lsb_release - if (lsb_release.get_distro_information()['ID'] in ['Debian'] or - os.path.exists('/etc/debian_version')): - data_files = [('../etc/apt/apt.conf.d/', - ['apt/50whatmaps_apt']), - ('../etc/apt/apt.conf.d/', - ['apt/20services']), - ] -except ImportError: - pass - +if os.path.exists('/etc/debian_version'): + data_files = [('../etc/apt/apt.conf.d/', + ['apt/50whatmaps_apt']), + ('../etc/apt/apt.conf.d/', + ['apt/20services']), + ] setup(name="whatmaps", author='Guido Günther', |