Go to the documentation of this file.00001
00002
00003
00004 from __future__ import print_function
00005 from catkin_pkg.python_setup import generate_distutils_setup
00006 import os
00007 import sys
00008
00009 if 'ROS_DISTRO' in os.environ:
00010 from distutils.core import setup
00011 else:
00012 from setuptools import setup
00013
00014 d = generate_distutils_setup(
00015 packages=['nasa_common_logging'],
00016 package_dir={'': 'src'},
00017 package_data={'nasa_common_logging': ['python_logging.conf']}
00018 )
00019
00020 try:
00021 from nasa_common_pkg.pep440 import update_setup
00022 d = update_setup(d)
00023 except ImportError:
00024 print('Unable to find nasa_common_pkg, package will not include repo details', file=sys.stderr)
00025
00026 setup(**d)