]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/python/brag-client/setup.py
2 from setuptools
import setup
, find_packages
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')
10 def link_target(source
, destination
):
11 if not os
.path
.exists(destination
):
13 os
.symlink(source
, destination
)
14 except (IOError, OSError) as error
:
15 print('Ignoring linking of target: %s' % str(error
))
17 link_target(script_path
, 'ceph_brag.py')
29 packages
=find_packages(),
30 #packages=find_packages(exclude=['ez_setup'])