Go to the documentation of this file.00001
00002
00003 from distutils.core import setup
00004 from catkin_pkg.python_setup import generate_distutils_setup, get_global_python_destination
00005 import sys
00006 import os.path
00007
00008 if os.path.isfile("/etc/debian_version"):
00009 target_dir = 'lib/python'+ str(sys.version[:3]) +'/dist-packages'
00010 else:
00011 target_dir = 'lib/python'+ str(sys.version[:3]) +'/site-packages'
00012
00013
00014 d = generate_distutils_setup(
00015 packages=['bayesian','bayesian_belief_networks'],
00016 package_dir={'': target_dir,'bayesian_belief_networks':'src'}
00017 )
00018
00019 setup(**d)