-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
29 lines (26 loc) · 951 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
24
25
26
27
28
29
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='motdgen',
version='0.1.3',
description='A utility to generate dynamic Message Of The Day.',
author='Ratnadeep Debnath',
author_email='[email protected]',
url='https://github.com/rtnpro/motdgen',
license="GPLv2",
scripts=["motdgen", "motdgen-cache-updateinfo"],
packages=find_packages(),
include_package_data=True,
data_files=[
('/etc/profile.d', ['motdgen.sh']),
('/etc/pam.d', ['pam.d/motdgen']),
('/usr/lib/python2.7/site-packages/dnf-plugins',
['dnf/plugins/cache_updateinfo.py']),
('/etc/motdgen.d', [
'motdgen.d/01-uptime.sh',
'motdgen.d/02-updateinfo.sh']),
('/etc/systemd/system', ['motdgen.service',
'motdgen-cache-updateinfo.service',
'motdgen-cache-updateinfo.timer'])
]
)