mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
25 lines
877 B
Cheetah
25 lines
877 B
Cheetah
from setuptools import setup
|
|
import os
|
|
|
|
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')]))
|
|
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
|
|
|
|
setup(
|
|
name='confluent_client',
|
|
version='#VERSION#',
|
|
author='Jarrod Johnson',
|
|
author_email='jjohnson2@lenovo.com',
|
|
url='http://xcat.sf.net/',
|
|
packages=['confluent'],
|
|
scripts=scriptlist,
|
|
data_files=data_files,
|
|
)
|