Exemplo n.º 1
0
 def _update_context_with_setup_arguments(self, context):
     if 'setup.py' in context:
         return
     # check setup.py file for data files and packages
     args = get_setup_arguments(os.path.join(context.source_space, 'setup.py'))
     data_files = get_data_files_mapping(args.get('data_files', []))
     context['setup.py'] = {
         'data_files': data_files,
         'packages': args['packages'],
         'py_modules': args.get('py_modules'),
     }
Exemplo n.º 2
0
 def _update_context_with_setup_arguments(self, context):
     if 'setup.py' in context:
         return
     # check setup.py file for data files and packages
     args = get_setup_arguments(
         os.path.join(context.source_space, 'setup.py'))
     data_files = get_data_files_mapping(args.get('data_files', []))
     context['setup.py'] = {
         'data_files': data_files,
         'packages': args['packages'],
         'py_modules': args.get('py_modules'),
     }
Exemplo n.º 3
0
 def _update_context_with_setup_arguments(self, context):
     if 'setup.py' in context:
         return
     # check setup.py file for data files and packages
     args = get_setup_arguments_with_context(
         AmentPythonBuildType.build_type, context)
     data_files = get_data_files_mapping(args.get('data_files', []))
     context['setup.py'] = {
         'data_files': data_files,
         'packages': args['packages'],
         'py_modules': args.get('py_modules'),
     }
Exemplo n.º 4
0
 def _update_context_with_setup_arguments(self, context):
     if 'setup.py' in context:
         return
     # check setup.py file for data files and packages
     args = get_setup_arguments_with_context(
         AmentPythonBuildType.build_type, context)
     data_files = get_data_files_mapping(args.get('data_files', []))
     context['setup.py'] = {
         'data_files': data_files,
         'packages': args['packages'],
         'py_modules': args.get('py_modules'),
     }