qubes-installer-qubes-os/firstboot/setup.py

24 lines
880 B
Python
Raw Normal View History

2011-01-30 00:16:57 +00:00
#!/usr/bin/python2
from distutils.core import setup
from glob import *
import os
2011-01-30 00:16:57 +00:00
data_files = [('/usr/sbin', ['progs/firstboot']),
('/usr/share/firstboot/themes/default',
glob('themes/default/*.png')),
('/usr/share/firstboot/modules', glob('modules/*.py')),
('/lib/systemd/system', glob('systemd/*.service'))]
# add the firstboot start script for s390 architectures
if os.uname()[4].startswith('s390'):
data_files.append(('/etc/profile.d', ['scripts/firstboot.sh']))
data_files.append(('/etc/profile.d', ['scripts/firstboot.csh']))
setup(name='firstboot', version='1.117',
2011-01-30 00:16:57 +00:00
description='Post-installation configuration utility',
author='Martin Gracik', author_email='mgracik@redhat.com',
2011-01-30 00:16:57 +00:00
url='http://fedoraproject.org/wiki/FirstBoot',
data_files=data_files,
2011-01-30 00:16:57 +00:00
packages=['firstboot'])