Installation procedures updated
Change-Id: Ib8c1a2765be4724f18f631d4a761d9309f280579
This commit is contained in:
parent
398f363cad
commit
1b20493251
|
@ -4,8 +4,8 @@ include templates/plugins.example.json
|
|||
include templates/services.example.json
|
||||
include etc/systemd/system/s4t-lightning-rod.service
|
||||
include etc/logrotate.d/lightning-rod.log
|
||||
include scripts/install_lr.py
|
||||
include scripts/configure_lr.py
|
||||
include scripts/lr_install
|
||||
include scripts/lr_configure
|
||||
|
||||
include AUTHORS
|
||||
include ChangeLog
|
||||
|
|
|
@ -99,6 +99,8 @@ from subprocess import call
|
|||
call(["systemctl", "enable", "lightning-rod.service"])
|
||||
call(["systemctl", "daemon-reload"])
|
||||
|
||||
"""
|
||||
os.system('cp ' + py_dist_pack + '/iotronic_lightningrod/scripts/'
|
||||
+ 'configure_lr.py /usr/bin/configure_lr')
|
||||
os.chmod('/usr/bin/configure_lr', 0o744)
|
||||
"""
|
|
@ -21,6 +21,13 @@ classifier =
|
|||
[files]
|
||||
packages =
|
||||
iotronic_lightningrod
|
||||
data_files =
|
||||
bin/ = scripts/*
|
||||
/iotronic_lightningrod/templates = templates/*
|
||||
/iotronic_lightningrod/etc/iotronic = etc/iotronic/iotronic.conf
|
||||
/iotronic_lightningrod/etc/logrotate.d = etc/logrotate.d/lightning-rod.log
|
||||
/iotronic_lightningrod/etc/systemd/system = etc/systemd/system/s4t-lightning-rod.service
|
||||
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
|
|
16
setup.py
16
setup.py
|
@ -28,20 +28,4 @@ setuptools.setup(
|
|||
setup_requires=['pbr>=1.8'],
|
||||
pbr=True,
|
||||
include_package_data=True,
|
||||
data_files=[
|
||||
('/iotronic_lightningrod/etc/iotronic',
|
||||
['etc/iotronic/iotronic.conf']),
|
||||
('/iotronic_lightningrod/scripts', ['scripts/install_lr.py']),
|
||||
('/iotronic_lightningrod/scripts', ['scripts/configure_lr.py']),
|
||||
('/iotronic_lightningrod/templates',
|
||||
['templates/settings.example.json']),
|
||||
('/iotronic_lightningrod/templates',
|
||||
['templates/plugins.example.json']),
|
||||
('/iotronic_lightningrod/templates',
|
||||
['templates/services.example.json']),
|
||||
('/iotronic_lightningrod/etc/logrotate.d',
|
||||
['etc/logrotate.d/lightning-rod.log']),
|
||||
('/iotronic_lightningrod/etc/systemd/system/',
|
||||
['etc/systemd/system/s4t-lightning-rod.service']),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue