Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Import alias Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num TryFinally body Expr Call AttributeLoad NameLoad attr finalbody If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Call NameLoad
N/A N/A Tests for distutils.command.build_scripts. N/A os N/A unittest distutils.command.build_scripts build_scripts distutils.core Distribution N/A sysconfig distutils.tests support test.test_support run_unittest BuildScriptsTestCase N/A N/A support TempdirManager N/A support LoggingSilencer N/A unittest TestCase N/A test_default_settings N/A N/A self N/A N/A N/A cmd N/A N/A self get_build_scripts_cmd /foo/bar N/A N/A N/A N/A self assertFalse N/A cmd force N/A N/A N/A self assertIsNone N/A cmd build_dir N/A N/A N/A cmd finalize_options N/A N/A N/A self assertTrue N/A cmd force N/A N/A N/A self assertEqual N/A cmd build_dir /foo/bar N/A test_build N/A N/A self N/A N/A N/A source N/A N/A self mkdtemp N/A target N/A N/A self mkdtemp N/A expected N/A N/A self write_sample_scripts source N/A cmd N/A N/A self get_build_scripts_cmd target N/A N/A N/A N/A os path join source fn N/A fn expected N/A N/A N/A cmd finalize_options N/A N/A N/A cmd run N/A built N/A N/A os listdir target N/A name expected N/A N/A N/A N/A self assertIn name built N/A get_build_scripts_cmd N/A N/A self target scripts N/A N/A N/A sys N/A dist N/A Distribution N/A N/A dist scripts scripts N/A N/A N/A dist command_obj N/A build N/A N/A support DummyCommand build_scripts target force 1 executable N/A sys executable N/A N/A build_scripts dist N/A write_sample_scripts N/A N/A self dir N/A N/A N/A expected N/A N/A N/A N/A expected append script1.py N/A N/A N/A self write_script dir script1.py #! /usr/bin/env python2.3
# bogus script w/ Python sh-bang
pass
 N/A N/A N/A expected append script2.py N/A N/A N/A self write_script dir script2.py #!/usr/bin/python
# bogus script w/ Python sh-bang
pass
 N/A N/A N/A expected append shell.sh N/A N/A N/A self write_script dir shell.sh #!/bin/sh
# bogus shell script w/ sh-bang
exit 0
 N/A expected N/A write_script N/A N/A self dir name text N/A N/A N/A f N/A open N/A N/A N/A os path join dir name w N/A N/A N/A N/A N/A f write text N/A N/A N/A N/A f close N/A test_version_int N/A N/A self N/A N/A N/A source N/A N/A self mkdtemp N/A target N/A N/A self mkdtemp N/A expected N/A N/A self write_sample_scripts source N/A cmd N/A N/A self get_build_scripts_cmd target N/A N/A N/A N/A os path join source fn N/A fn expected N/A N/A N/A cmd finalize_options N/A old N/A N/A N/A N/A sysconfig get_config_vars get VERSION N/A N/A N/A sysconfig _CONFIG_VARS N/A VERSION 4 N/A N/A N/A N/A N/A cmd run N/A N/A N/A old None N/A N/A N/A N/A sysconfig _CONFIG_VARS N/A VERSION old N/A built N/A N/A os listdir target N/A name expected N/A N/A N/A N/A self assertIn name built N/A N/A test_suite N/A N/A N/A N/A N/A N/A N/A unittest makeSuite BuildScriptsTestCase N/A N/A N/A __name__ __main__ N/A N/A N/A run_unittest N/A test_suite