class_docstr: Description of a Pythran extension
  
  Similar to distutils.core.Extension except that the sources are .py files
  They must be processable by pythran, of course.
  
  The compilation process ends up in a native Python module.
class_docstr_tok: ["Description","of","a","Pythran","extension","Similar","to","distutils.core.Extension","except","that","the","sources","are",".py","files","They","must","be","processable","by","pythran",",","of","course",".","The","compilation","process","ends","up","in","a","native","Python","module","."]
code: def __init__(self, name, sources, *args, **kwargs):
      cfg_ext = cfg.make_extension(python=True, **kwargs)
      self.cxx = cfg_ext.pop("cxx", None)
      self.cc = cfg_ext.pop("cc", None)
      self._sources = sources
      Extension.__init__(self, name, sources, *args, **cfg_ext)
      self.__dict__.pop("sources", None)
  
file_path: catboost/contrib/python/pythran/pythran/dist.py
imports: import pythran.config
  from collections import defaultdict
  import os.path
  import os
  import setuptools
  from distutils.command.build_ext import build_ext
label_desc: Use image node_id 1 to create a new PythranExtension object from inherited base classes: Extension with example: obj = PythranExtension(name, sources)