code: def strip_module(filename):
      if "." in filename:
          filename = os.path.splitext(filename)[0]
      if filename.endswith("module"):
          filename = filename[:-6]
      return filename
  
imports: from distutils.errors import DistutilsSetupError
  from distutils.dir_util import remove_tree, mkpath
  from distutils import log
  from types import CodeType
  import sys
  import os
  import re
  import textwrap
  import marshal
  from setuptools.extern import six
  from pkg_resources import get_build_platform, Distribution, ensure_directory
  from pkg_resources import EntryPoint
  from setuptools.extension import Library
  from setuptools import Command
label_desc: Use image node_id 1 for calling a global function with example usage: strip_module(filename) and returns: filename