You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-installer-qubes-os/firstboot/setup.py

24 lines
880 B

#!/usr/bin/python2
from distutils.core import setup
from glob import *
import os
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',
description='Post-installation configuration utility',
author='Martin Gracik', author_email='mgracik@redhat.com',
url='http://fedoraproject.org/wiki/FirstBoot',
data_files=data_files,
packages=['firstboot'])