-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
23 lines (19 loc) · 882 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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')),
('/etc/rc.d/init.d', glob('sysvinit/firstboot'))]
# 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='2017.12.09',
description='Post-installation configuration utility',
author='Joel Barrios', author_email='darkshram@gmail.com',
url='https://github.com/darkshram/firstboot',
data_files=data_files,
packages=['firstboot'])