2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 02:52:07 +00:00

Modify setup.py.tmpl to be adaptive

This should prevent forgetting to add content to
setup.py moving forward.
This commit is contained in:
Jarrod Johnson 2017-01-27 15:23:16 -05:00
parent 1028f1cb60
commit 15c84e8a9b

View File

@ -1,4 +1,7 @@
from setuptools import setup
import os
scriptlist = ['bin/{0}'.format(d) for d in os.listdir('bin/')]
setup(
name='confluent_client',
@ -7,9 +10,6 @@ setup(
author_email='jjohnson2@lenovo.com',
url='http://xcat.sf.net/',
packages=['confluent'],
scripts=['bin/confetty', 'bin/nodeconsole', 'bin/nodeeventlog',
'bin/nodefirmware', 'bin/nodehealth', 'bin/nodeidentify',
'bin/nodeinventory', 'bin/nodelist', 'bin/nodepower',
'bin/nodesensors', 'bin/nodesetboot', 'bin/noderun'],
scripts=scriptlist,
data_files=[('/etc/profile.d', ['confluent_env.sh'])],
)