diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-09-24 13:25:36 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-09-25 15:47:57 +0200 |
commit | 1f3b0f8a640d948849181fe07f4a5fe4431e95b9 (patch) | |
tree | 780abd32a26d199ad7383d321b63f62f9c31fa90 /setup.py | |
parent | 050d3b21bf30bbd6f60d4819600c7d1550e4e5fd (diff) |
Fixups for Lenny
Cope with older apt_pkg and don't substitute disto_id, distro_codename
due to the lack of the lsb_release python module
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -3,18 +3,11 @@ from distutils.core import setup -data_files = [] - -try: - import lsb_release - if lsb_release.get_distro_information()['ID'] in [ 'Debian' ]: - data_files = [('../etc/apt/apt.conf.d/', - ['apt/50whatmaps_apt']), - ('../etc/apt/apt.conf.d/', - ['apt/20services']), - ] -except ImportError: - pass +data_files = [('../etc/apt/apt.conf.d/', + ['apt/50whatmaps_apt']), + ('../etc/apt/apt.conf.d/', + ['apt/20services']), + ] setup(name = "whatmaps", author = 'Guido Günther', |