(self, requires, script_name)
Locate distribution for `requires` and run `script_name` script
Locate distribution for `requires` and run `script_name` script
Locate distribution for requires and run script_name script
def run_script(self, requires, script_name):
        """Locate distribution for `requires` and run `script_name` script"""
        ns = sys._getframe(1).f_globals
        name = ns['__name__']
        ns.clear()
        ns['__name__'] = name
        self.require(requires)[0].run_script(script_name, ns)
def run_script ( self , requires , script_name ) : ns = sys . _getframe ( 1 ) . f_globals name = ns [ '__name__' ] ns . clear ( ) ns [ '__name__' ] = name self . require ( requires ) [ 0 ] . run_script ( script_name , ns )