Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults NameLoad body Expr Str With Call NameLoad NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad keyword Str body Expr Yield SubscriptLoad Call NameLoad NameLoad Index Num decorator_list NameLoad FunctionDef arguments args defaults body With Call NameLoad keyword NameLoad NameStore body Assert CompareNotIn Str Call NameLoad NameLoad Str decorator_list FunctionDef arguments args defaults body With Call NameLoad keyword NameLoad NameStore body Assert CompareIn Str Call NameLoad NameLoad Str decorator_list
N/A N/A os contextlib contextmanager twitter.common.contextutil environment_as temporary_dir pex.pex_builder PEXBuilder pex.testing run_simple_pex write_and_run_simple_pex N/A N/A inheriting N/A False N/A N/A Write a pex file that contains an executable entry point

  :param inheriting: whether this pex should inherit site-packages paths
  :type inheriting: bool
   N/A N/A temporary_dir td N/A N/A pex_path N/A N/A N/A os path join td show_path.pex N/A N/A open N/A N/A N/A os path join td exe.py w fp N/A N/A N/A N/A fp write N/A pb N/A PEXBuilder path td preamble None N/A N/A N/A pb info inherit_path inheriting N/A N/A N/A pb set_executable N/A N/A N/A os path join td exe.py N/A N/A N/A pb freeze N/A N/A N/A pb build pex_path N/A N/A environment_as PEX_VERBOSE 1 N/A N/A N/A N/A N/A run_simple_pex pex_path N/A 0 N/A contextmanager test_inherits_path_option N/A N/A N/A N/A N/A N/A write_and_run_simple_pex inheriting True so N/A N/A N/A Scrubbing from site-packages N/A str so Site packages should not be scrubbed. N/A test_does_not_inherit_path_option N/A N/A N/A N/A N/A N/A write_and_run_simple_pex inheriting False so N/A N/A N/A Scrubbing from site-packages N/A str so Site packages should be scrubbed. N/A