Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body If UnaryOpNot Call NameLoad body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse Expr Call NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args defaults body ImportFrom alias For NameStore Call NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body Assign NameStore ListLoad With Call NameLoad NameLoad keyword Str NameStore body For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num attr attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Slice Num attr orelse Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler body Pass With Call NameLoad BinOpMod Str NameLoad keyword Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler body Pass Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Expr Call NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str ImportFrom alias TryExcept body Assign NameStore ListLoad With Call NameLoad NameLoad keyword Str NameStore body For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler body Pass With Call NameLoad BinOpMod Str NameLoad keyword Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler body Pass Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Return decorator_list NameLoad FunctionDef arguments args defaults body ImportFrom alias If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str If Call NameLoad body Expr Call NameLoad BinOpMod Str NameLoad orelse Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad ListLoad Str body Assign NameStore NameLoad Assign NameStore BinOpSub Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr If NameLoad body Return NameLoad Assign NameStore NameLoad For NameStore ListComp Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad IfExp NameLoad Str Str Expr Call NameLoad NameLoad Expr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num If AttributeLoad NameLoad attr body Expr Call NameLoad Expr Call NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad If AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Num If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A __future__ print_function N/A os N/A re N/A sys os.path basename join vext vext_pth vext.env in_venv vext.install install_vexts create_pth N/A vext.gatekeeper requires_venv N/A N/A f N/A N/A run N/A N/A N/A N/A N/A N/A N/A in_venv N/A N/A N/A print N/A Must run inside virtualenv to %s vext. N/A f __name__ N/A N/A N/A sys exit 1 N/A N/A N/A f N/A N/A run N/A list_vexts N/A N/A N/A N/A vext.gatekeeper spec_files N/A fn N/A spec_files N/A N/A N/A print N/A N/A N/A os path basename fn N/A do_enable N/A N/A N/A N/A N/A 
    Uncomment any lines that start with #import in the .pth file
     N/A N/A N/A _lines N/A N/A N/A open vext_pth mode r f N/A N/A line N/A N/A f readlines N/A N/A N/A N/A N/A line startswith # N/A N/A N/A N/A N/A line N/A 1 lstrip startswith import  N/A N/A N/A N/A _lines append N/A N/A N/A line N/A 1 lstrip N/A N/A N/A N/A _lines append line N/A N/A N/A N/A N/A os unlink N/A %s.tmp vext_pth N/A N/A N/A N/A N/A N/A open N/A %s.tmp vext_pth mode w+ f N/A N/A N/A N/A f writelines _lines N/A N/A N/A N/A N/A os unlink N/A %s~ vext_pth N/A N/A N/A N/A N/A N/A N/A os rename vext_pth N/A %s~ vext_pth N/A N/A N/A os rename N/A %s.tmp vext_pth vext_pth N/A N/A N/A IOError N/A e N/A N/A N/A N/A e errno 2 N/A N/A N/A create_pth N/A requires_venv do_disable N/A N/A N/A N/A N/A 
    Comment any lines that start with import in the .pth file
     vext vext_pth N/A N/A N/A _lines N/A N/A N/A open vext_pth mode r f N/A N/A line N/A N/A f readlines N/A N/A N/A N/A N/A N/A line startswith # N/A N/A line startswith import  N/A N/A N/A N/A _lines append N/A # %s line N/A N/A N/A N/A _lines append line N/A N/A N/A N/A N/A os unlink N/A %s.tmp vext_pth N/A N/A N/A N/A N/A N/A open N/A %s.tmp vext_pth mode w+ f N/A N/A N/A N/A f writelines _lines N/A N/A N/A N/A N/A os unlink N/A %s~ vext_pth N/A N/A N/A N/A N/A N/A N/A os rename vext_pth N/A %s~ vext_pth N/A N/A N/A os rename N/A %s.tmp vext_pth vext_pth N/A N/A N/A IOError N/A e N/A N/A N/A N/A e errno 2 N/A N/A N/A requires_venv do_status N/A N/A N/A N/A vext.gatekeeper GatekeeperFinder N/A N/A N/A GatekeeperFinder PATH_TRIGGER N/A sys path N/A N/A enabled_msg enabled N/A N/A enabled_msg disabled N/A N/A in_venv N/A N/A N/A print N/A Running in virtualenv [%s] enabled_msg N/A N/A N/A print N/A Not running in virtualenv [%s] enabled_msg N/A do_check N/A N/A vext_files N/A N/A N/A 
    Attempt to import everything in the 'test-imports' section of specified
    vext_files

    :param: list of vext filenames (without paths), '*' matches all.
    :return: True if test_imports was successful from all files
     N/A vext N/A all_specs N/A set N/A N/A N/A vext gatekeeper spec_files_flat N/A N/A vext_files N/A * N/A N/A vext_files all_specs N/A unknown_specs N/A N/A set vext_files all_specs N/A fn unknown_specs N/A N/A N/A print N/A %s is not an installed vext file. fn file N/A sys stderr N/A unknown_specs N/A N/A False N/A check_passed True N/A fn N/A N/A join N/A N/A N/A vext gatekeeper spec_dir fn N/A fn vext_files N/A N/A f N/A N/A N/A vext gatekeeper open_spec N/A open fn N/A modules N/A N/A f get test_import N/A N/A N/A success module N/A N/A N/A vext gatekeeper test_imports modules N/A N/A N/A success N/A N/A check_passed False N/A line N/A import %s: %s N/A module N/A success [success] [failed] N/A N/A print line N/A N/A print N/A check_passed N/A do_install_vexts N/A N/A vext_files N/A N/A N/A N/A src dst N/A install_vexts vext_files N/A N/A N/A print N/A   %s src N/A main N/A N/A N/A N/A N/A argparse N/A parser N/A N/A argparse ArgumentParser description Access system python modules from virtualenv. N/A N/A N/A parser add_argument -l --list dest list action store_true help List installed external packages N/A N/A N/A parser add_argument -e --enable dest enable action store_true help Disable Vext loader N/A N/A N/A parser add_argument -d --disable dest disable action store_true help Enable Vext loader N/A N/A N/A parser add_argument -s --status dest status action store_true help Show Vext status N/A N/A N/A parser add_argument -c --check dest check nargs * help [external package] Test imports for external package N/A N/A N/A parser add_argument -i --install dest install nargs * help Install vext file (used during setup) N/A args N/A N/A parser parse_args N/A err_level 0 N/A N/A args list N/A N/A N/A do_status N/A N/A list_vexts N/A N/A args disable N/A N/A N/A do_disable N/A N/A args enable N/A N/A N/A do_enable N/A N/A args status N/A N/A N/A do_status N/A N/A args check N/A N/A N/A N/A do_check N/A args check N/A N/A err_level 1 N/A N/A args install N/A N/A N/A do_install_vexts N/A args install N/A N/A N/A sys exit err_level N/A