2014-05-06 19:01:35 +00:00
|
|
|
from setuptools import setup
|
2017-01-27 20:23:16 +00:00
|
|
|
import os
|
|
|
|
|
2022-04-25 20:47:19 +00:00
|
|
|
data_files = [('/etc/profile.d', ['confluent_env.sh', 'confluent_env.csh']),
|
2022-09-09 16:50:38 +00:00
|
|
|
('/opt/confluent/share/licenses/confluent_client/', ['LICENSE', 'COPYRIGHT'])
|
2022-04-25 20:47:19 +00:00
|
|
|
]
|
2017-06-20 18:56:24 +00:00
|
|
|
try:
|
|
|
|
scriptlist = ['bin/{0}'.format(d) for d in os.listdir('bin/')]
|
2017-08-16 13:42:30 +00:00
|
|
|
data_files.append(('/opt/confluent/share/man/man1', ['man/man1/' + x for x in os.listdir('man/man1')]))
|
2017-06-20 18:56:24 +00:00
|
|
|
data_files.append(('/opt/confluent/share/man/man5', ['man/man5/' + x for x in os.listdir('man/man5')]))
|
|
|
|
data_files.append(('/opt/confluent/share/man/man8', ['man/man8/' + x for x in os.listdir('man/man8')]))
|
|
|
|
except OSError:
|
|
|
|
pass
|
2014-05-06 19:01:35 +00:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='confluent_client',
|
2014-07-14 18:54:12 +00:00
|
|
|
version='#VERSION#',
|
2022-09-09 16:10:32 +00:00
|
|
|
author='Lenovo',
|
2015-03-25 17:52:59 +00:00
|
|
|
author_email='jjohnson2@lenovo.com',
|
2022-09-09 16:10:32 +00:00
|
|
|
url='http://github.com/lenovo/confluent/',
|
|
|
|
license='Apache-2.0',
|
|
|
|
description='Command line client and libraries for confluent management server',
|
2022-09-09 16:26:38 +00:00
|
|
|
long_description='Command line client and libraries for confluent management server',
|
2014-05-06 19:01:35 +00:00
|
|
|
packages=['confluent'],
|
2022-09-09 16:26:38 +00:00
|
|
|
platforms=['Linux'],
|
2017-01-27 20:23:16 +00:00
|
|
|
scripts=scriptlist,
|
2022-04-25 20:54:06 +00:00
|
|
|
data_files=data_files,
|
2014-05-06 19:01:35 +00:00
|
|
|
)
|