diff --git a/confluent_client/setup.py.tmpl b/confluent_client/setup.py.tmpl index 9a12fc58..a3e4e122 100644 --- a/confluent_client/setup.py.tmpl +++ b/confluent_client/setup.py.tmpl @@ -1,7 +1,9 @@ from setuptools import setup import os -data_files = [('/etc/profile.d', ['confluent_env.sh', 'confluent_env.csh'])] +data_files = [('/etc/profile.d', ['confluent_env.sh', 'confluent_env.csh']), + ('/opt/confluent/share/licenses/confluent_client/', ['LICENSE']) + ] try: scriptlist = ['bin/{0}'.format(d) for d in os.listdir('bin/')] data_files.append(('/opt/confluent/share/man/man1', ['man/man1/' + x for x in os.listdir('man/man1')])) @@ -17,7 +19,6 @@ setup( author_email='jjohnson2@lenovo.com', url='http://xcat.sf.net/', packages=['confluent'], - license_files=['LICENSE'], scripts=scriptlist, - data_files=data_files, + data_files=data_files + ['LICENSE'], )