]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/python/brag-client/setup.py
update download target update for octopus release
[ceph.git] / ceph / src / test / python / brag-client / setup.py
1 import os
2 from setuptools import setup, find_packages
3
4 # link ceph-brag client script here so we can "install" it
5 current_dir = os.path.abspath(os.path.dirname(__file__))
6 src_dir = os.path.dirname(os.path.dirname(os.path.dirname(current_dir)))
7 script_path = os.path.join(src_dir, 'brag/client/ceph-brag')
8
9
10 def link_target(source, destination):
11 if not os.path.exists(destination):
12 try:
13 os.symlink(source, destination)
14 except (IOError, OSError) as error:
15 print('Ignoring linking of target: %s' % str(error))
16
17 link_target(script_path, 'ceph_brag.py')
18
19 setup(
20 name='ceph_brag',
21 version='0.1',
22 description='',
23 author='',
24 author_email='',
25 install_requires=[
26 "requests",
27 ],
28 zip_safe=False,
29 packages=find_packages(),
30 #packages=find_packages(exclude=['ez_setup'])
31 )